Skip to content

Commit 502166f

Browse files
author
vipin_menon
committed
test1
1 parent 64dfcd2 commit 502166f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

indexasapp.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<script src="jquery.js">
5+
</script>
6+
<script>
7+
$(document).ready(function(){
8+
$("button").click(function(){
9+
alert("hello","hello");
10+
var div=$("div");
11+
var qqp=1
12+
while(qqp<5)
13+
{
14+
div.animate({left:'300px'},"slow");
15+
div.animate({left:'0px',height:'300px'},"slow");
16+
div.animate({height:'100px',opacity:'0.4'},"slowt");
17+
div.animate({width:'100px',opacity:'0.8'},"slow");
18+
qqp=qqp+1;
19+
}
20+
});
21+
});
22+
</script>
23+
</head>
24+
25+
<body>
26+
<button>Start Animation</button>
27+
<p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p>
28+
<div style="background:#98bf21;height:100px;width:100px;position:absolute;">
29+
</div>
30+
31+
</body>
32+
</html>

0 commit comments

Comments
 (0)