-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathp.complements.html
90 lines (81 loc) · 4.45 KB
/
p.complements.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<title>Inputs plugin</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="library/style.css">
<style type="text/css">
#carousel .item{
background: #3fbf79;
padding: 30px 0px;
margin: 10px;
color: #FFF;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-align: center;
}
</style>
</head>
<body>
<img src="logo.png" width="400" />
<ul>
<li><a href="index-old.html">Return</a></li>
</ul>
<h1>Complements</h1>
<h2>Load on hover</h2>
<div style="width:200px;background:#ccc;height:200px;" data-type="loadOnHover" id="square">
<p for="square">Mostrar</p>
</div>
<code data-type="codeeditor" data-lang="html"><div style="width:200px;background:#ccc;height:200px;" data-type="loadOnHover" id="square">
<p for="square">Mostrar</p>
</div></code>
<h2>Progress Bar</h2>
<p>Demo can be seen in this form, while loading a progress bar appears. It needs to be added in the body.</p>
<code data-type="codeeditor" data-lang="html"><body data-type="progressbar">
// All the content goes here
</body></code>
<h2>Fake click</h2>
<p>Click in some place and automatically clicks in something else. Ideally to put a fake button for a select file input for example.</p>
<button data-type="fakeButton" id="mifake">Agregar foto de perfil</button>
<input for="mifake" type="file" id="file" name="archivos[]" multiple="true" style="display:none"/>
<code data-type="codeeditor" data-lang="html"><button data-type="fakeButton" id="mifake">Agregar foto de perfil</button>
<input for="mifake" type="file" id="file" name="archivos[]" multiple="true" required style="display:none"/></code>
<h2>Ajax loader</h2>
<span data-type="ajaxload" src="README.md" for="carga">Load</span>
<span data-type="ajaxload" src="http://i.imgur.com/VJ7Fj3z.png" for="carga">Load Image</span>
<span data-type="ajaxload" src="http://i.imgur.com/VJ7Fj3z.png" data-zoom="true" for="carga">Load Image with zoom</span>
<br /><br />
<div id="carga" style="display:block; width:500px; height:300px; padding:20px; border:1px solid #000;"></div>
<code data-type="codeeditor" data-lang="html"><span data-type="ajaxload" src="README.md" for="carga">Load</span>
<span data-type="ajaxload" src="http://i.imgur.com/VJ7Fj3z.png" for="carga">Load Image</span>
<span data-type="ajaxload" src="http://i.imgur.com/VJ7Fj3z.png" data-zoom="true" for="carga">Load Image with zoom</span>
<br /><br />
<div id="carga" style="display:block; width:500px; height:300px; padding:20px; border:1px solid #000;"></div></code>
<h2>Mobile Menu</h2>
<a data-type="mobmenu" for="menuizq" data-submenu-pos="left" href="#sidr">Toggle menu</a>
<div id="menuizq">
<!-- Your content -->
<ul>
<li><a href="#">List 1</a></li>
<li class="active"><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
</ul>
</div>
<code data-type="codeeditor" data-lang="html"><a data-type="mobmenu" for="menuizq" data-submenu-pos="left" href="#sidr">Toggle menu</a>
<div id="menuizq">
<!-- Your content -->
<ul>
<li><a href="#">List 1</a></li>
<li class="active"><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
</ul>
</div></code>
<h2>360 Viewer</h2>
<p>ID is needed</p>
<div data-type="viewer-360" data-title="Ejemplo" src="https://i.imgur.com/YV7SYrO.jpg" id="tresientossesenta"></div>
<code data-type="codeeditor" data-lang="html"><div data-type="viewer-360" data-title="Ejemplo" src="https://i.imgur.com/YV7SYrO.jpg" id="tresientossesenta"></div></code>
<script type="text/javascript" src="library/jquery.min.js"></script>
<script type="text/javascript" src="library/script.js"></script>
</body>
</html>