This repository was archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.html
More file actions
51 lines (49 loc) · 1.38 KB
/
demo.html
File metadata and controls
51 lines (49 loc) · 1.38 KB
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
<meta name="author" content="gencyolcu" />
<title>Testes em plugins</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"/>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="css/jquery.popbox.css" />
<script src="js/jquery.popbox.js"></script>
<script>
$(function(){
$("#popbox").popbox({
xhtml: false,
fundo: true,
//autoOpen: true
});
$(".popbox2").popbox({
xhtml:false,
fundo: true,
});
$("#abrir").click(function(){
$("#popbox").popbox("Toggle");
});
$("#abrirX1").click(function(){
$("#pb1").popbox("Toggle");
});
$("#abrirX2").click(function(){
$("#pb2").popbox("Toggle");
});
});
</script>
</head>
<body>
<button id="abrirX1">Abrir XHTML</button>
<button id="abrirX2">Abrir XHTML</button>
<button id="abrir">Abrir HTML</button>
<div class="popbox2" id="pb1" title="XHTML">
Conteudo teste apenas
</div>
<div class="popbox2" id="pb2" title="XHTML2">
Conteudo teste apenas2
</div>
<div id="popbox">
Conteudo teste apenas
</div>
</body>
</html>