-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnimateEffect.html
More file actions
68 lines (53 loc) · 1.5 KB
/
Copy pathAnimateEffect.html
File metadata and controls
68 lines (53 loc) · 1.5 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<html>
<head>
<title>Animate Effect</title>
<h1>ANNIMATE EFFECTE</h1>
<button id="btn1">Clike me 1</button>
<button id="btn2">Clike me 2</button>
<button id="btn3">Clike me 3</button>
</head>
<body>
<link rel="stylesheet" href="style2.css">
<p id="p1"> this paragraph 1</p><br><br>
<p id="p2"> this paragraph 2</p><br><br>
<p id="p3"> this paragraph 3</p><br><br>
<p id="p4"> this paragraph 4</p><br><br>
<ul>
<li>java</li>
<li>c</li>
<li>javascript</li>
<li>python</li>
</ul>
<div id="id1" class="myCube">
<p>MY CUBE</p>
</div>
</body>
<script
src="https://code.jquery.com/jquery-3.5.0.js"
integrity="sha256-r/AaFHrszJtwpe+tHyNi/XCfMxYpbsRg2Uqn0x3s2zc="
crossorigin="anonymous">
</script>
<script type="text/javascript">
$(document).ready(function (){
$("#btn1").click(function(){
//alert("working 1")
$("#id1").animate({
left :'150px',
opacity :'1',
width :'100px',
height:'100px'
},1000)
})
})
$(document).ready(function (){
$("#btn2").click(function (){
alert("working 2")
})
})
$(document).ready(function (){
$("#btn3").click(function (){
alert("working 3")
})
})
</script>
</html>