-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path09-number.html
53 lines (48 loc) · 1.58 KB
/
09-number.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery practice</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/jquery-3.6.0.min.js"></script>
</head>
<body>
<section class="content">
<div class="header">
<h2><button class="indexManin"><a href="index.html" class="home">Home</a></button>
Tutorial: jQuery Fundamentals</h2>
</div>
<div class="maincontent">
<u><h3 align="center">jQuery stop:</h3></u><br>
<button class="btn" style="font-size: 25px;">Stop</button>
<div class="clickbtn" id="clc9">Click here</div>
<div class="loremNine" id="lorem9">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<script type="text/javascript">
$(document).ready(function(){
$('#clc9').click(function(){
//here 2000 is time .it's means 2 sec
$('#lorem9').slideToggle(2000);
});
$('.btn').click(function(){
$('#lorem9').stop();
});
});
</script>
</div>
<div class="footer">
<h2>
<script type="text/javascript">
var year = new Date();
document.write(year.getFullYear());
</script> © Tarequr Rahman Sabbir</h2>
</div>
</section>
</body>
</html>