-
Notifications
You must be signed in to change notification settings - Fork 11
/
example-advanced.html
executable file
·153 lines (149 loc) · 5.6 KB
/
example-advanced.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>A very basic Superfish menu example</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="sooperfish.css" media="screen">
<link rel="stylesheet" type="text/css" href="themes/sooperfish-theme-large.css" media="screen">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.easing-sooper.js"></script>
<script type="text/javascript" src="jquery.sooperfish.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('ul.sf-menu').sooperfish({
dualColumn : 6, //if a submenu has at least this many items it will be divided in 2 columns
tripleColumn : 8, //if a submenu has at least this many items it will be divided in 3 columns
hoverClass : 'sfHover',
delay : 500, //make sure menus only disappear when intended, 500ms is advised by Jacob Nielsen
animationShow : {width:'show',height:'show',opacity:'show'},
speedShow : 750,
easingShow : 'easeOutBounce',
animationHide : {width:'hide',height:'hide',opacity:'hide'},
speedHide : 300,
easingHide : 'easeInOvershoot',
autoArrows : true
});
});
</script>
</head>
<body>
<ul class="sf-menu" id="nav">
<li class="current">
<a href="#a">Fruits by Color</a>
<ul>
<li>
<a href="#aa">All fruits with drawings and photos</a>
</li>
<li class="current">
<a href="#ab">Red Fruits</a>
<ul>
<li class="current"><a href="#">Red Apples</a></li>
<li><a href="#aba">Red Grapes</a></li>
<li><a href="#abc">Cherries</a></li>
<li><a href="#abb">Strawberries</a>
<ul>
<li class="current"><a href="#">Dutch Strawberries</a></li>
<li><a href="#aba">French Strawberries</a></li>
<li><a href="#abb">German Strawberries</a></li>
<li><a href="#abc">American Strawberries</a></li>
<li><a href="#abd">Scandinavian Strawberries</a></li>
</ul>
</li>
<li><a href="#abd">Berries</a></li>
<li><a href="#abd">Cherry Tomatoes</a></li>
</ul>
</li>
<li>
<a href="#">Yellow Fruits</a>
<ul>
<li><a href="#">Bananas</a></li>
<li><a href="#">Lemons</a></li>
<li><a href="#">Mangos</a></li>
<li><a href="#">Dragon Fruit</a></li>
<li><a href="#">Tangerine</a></li>
</ul>
</li>
<li>
<a href="#">Green Fruits</a>
<ul>
<li><a href="#">Green apples</a></li>
<li><a href="#">Kiwis</a></li>
<li><a href="#">Melons</a></li>
<li><a href="#">Pears</a></li>
<li><a href="#">Unripe bananas</a></li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#">Singularity</a>
</li>
<li>
<a href="#">Widgets</a>
<ul>
<li>
<a href="#">Things</a>
<ul>
<li><a href="#">Red things</a></li>
<li><a href="#">Blue things</a></li>
<li><a href="#">Green things</a></li>
<li><a href="#">Yellow things</a></li>
<li><a href="#">Black things</a></li>
</ul>
</li>
<li><a href="#">Stuff</a></li>
<li>
<a href="#">Others</a>
<ul>
<li><a href="#">Really white others</a></li>
<li><a href="#">Broken white others</a></li>
<li><a href="#">Silver others</a></li>
<li><a href="#">Grey others</a></li>
<li><a href="#">Ash others</a></li>
<li><a href="#">Anthracite others</a></li>
<li><a href="#">Really black others</a></li>
<li><a href="#">Galactic void others</a></li>
</ul>
</li>
<li>
<a href="#">Misc</a>
<ul>
<li><a href="#">Cyan others</a></li>
<li><a href="#">Magenta others</a></li>
<li><a href="#">Yellow others</a></li>
<li><a href="#">Black others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">Cyan others</a></li>
<li><a href="#">Magenta others</a></li>
<li><a href="#">Yellow others</a></li>
<li><a href="#">Black others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">Cyan others</a></li>
<li><a href="#">Magenta others</a></li>
<li><a href="#">Yellow others</a></li>
<li><a href="#">Black others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">Cyan others</a></li>
<li><a href="#">Magenta others</a></li>
<li><a href="#">Yellow others</a></li>
<li><a href="#">Black others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">Cyan others</a></li>
<li><a href="#">Magenta others</a></li>
<li><a href="#">Yellow others</a></li>
<li><a href="#">Black others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">White others</a></li>
<li><a href="#">White others</a></li>
</ul>
</li>
<li><a href="#">Unique thing</a></li>
</ul>
</li>
<li>
<a href="#">Contact</a>
</li>
</ul>
</body>
</html>