blob: 766a300112b1a8af7ef370c02e87adb8c2991626 (
plain)
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
|
<!--<!doctype html>-->
<html>
<head>
<title>GQuery Demo</title>
<script language="javascript"
src="gwtquery.samples.GwtQueryEffects.nocache.js"></script>
<style type="text/css">
.box {
border-style: groove;
border-color: green;
border-width: 5px;
}
.a {
border-style: solid;
border-color: black;
border-width: 7px;
background: pink;
width: 50%;
padding: 10px;
display: none;
}
</style>
</head>
<body>
<div class="outer">
<div>Foo <span class="note">bar</span> baz</div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
<div>Foo <span class="note">bar</span> <span class="xyz">baz</span></div>
</div>
<br/>
<button id="b0">Animate me</button><br/>
<button id="b1">Toggle Animate effects</button>
<button id="b2">Toggle Clip effects</button>
<br/>
<br/>
<div class="a">
<span id="i1" class="box">Span 1</span>
<span id="i2" class="box">Span 2</span>
<span id="i3" class="box">Span 3</span>
</div>
<br/>
<div class="b">
<div class="box">Div 1</div>
<div class="box">Div 2</div>
<div class="box">Div 3</div>
<div class="box">Div 4</div>
</div>
<script src="jquery-1.3.1.js"></script>
<script>
// $("#b1").click(function(){
// $("#i1").animate(({width: '70%', opacity: '0.4', marginLeft: '0.6in', fontSize: '3em', borderWidth: '10px'}));
// });
</script>
</body>
</html>
|