-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcss-dock-bottom.html
51 lines (50 loc) · 2.36 KB
/
css-dock-bottom.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Dock Menu</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/dock.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--bottom dock -->
<div class="dock" id="dock2">
<div class="dock-container2">
<a class="dock-item2" href="#"><span>Home</span><img src="img/home.png" alt="home"></a>
<a class="dock-item2" href="#"><span>Contact</span><img src="img/email.png" alt="contact"></a>
<a class="dock-item2" href="#"><span>Portfolio</span><img src="img/portfolio.png" alt="portfolio"></a>
<a class="dock-item2" href="#"><span>Music</span><img src="img/music.png" alt="music"></a>
<a class="dock-item2" href="#"><span>Video</span><img src="img/video.png" alt="video"></a>
<a class="dock-item2" href="#"><span>History</span><img src="img/history.png" alt="history"></a>
<a class="dock-item2" href="#"><span>Calendar</span><img src="img/calendar.png" alt="calendar"></a>
<a class="dock-item2" href="#"><span>Links</span><img src="img/link.png" alt="links"></a>
<a class="dock-item2" href="#"><span>RSS</span><img src="img/rss.png" alt="rss"></a>
<a class="dock-item2" href="#"><span>RSS2</span><img src="img/rss2.png" alt="rss"></a>
</div>
</div>
<!--dock menu JS options -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="js/iutil.js"></script>
<script type="text/javascript" src="js/fisheye.js"></script>
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 60,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 40,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);
</script>
</body>
</html>