-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
59 lines (49 loc) · 1.32 KB
/
index.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
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<title>Hover Div</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container">
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
<figure class="single-thumb">
<img src="images/kajol.jpg">
<figcaption class="caption"></figcaption>
</figure>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/mouseDetect.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.single-thumb').each( function() {
$(this).mouseDetect({
parentWidth : '400px;',
parentHeight : '300px',
parentBgColor : '#fff',
captionBgColor : 'gray'
});
} );
});
</script>
</body>
</html>