-
Notifications
You must be signed in to change notification settings - Fork 3
/
MenuDropwdown.html
136 lines (122 loc) · 4.3 KB
/
MenuDropwdown.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="pt-br" />
<meta http-equiv="Window-target" content="_self" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Sarlobetter</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Wallace Erick" />
<link type="text/css" href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript">
Zepto(function($){
//Mobile
$('ul.dropdown li').tap(function(e){
$('ul.dropdown li').removeClass("hover");
$(this).addClass("hover");
$('ul.dropdown li > ul').animate({
opacity: 0
}, 800, 'ease-out');
$(this).find('ul').animate({
opacity: 1
}, 800, 'ease-out');
});
//Web
/*
$('ul.dropdown li').on('mouseenter', function(e){
$(this).addClass("hover");
$(this).find('ul').animate({
opacity: 1
}, 800, 'ease-out');
});
$('ul.dropdown li').on('mouseleave', function(e){
$(this).removeClass("hover");
$(this).find('ul').animate({
opacity: 0
}, 300, 'ease-out');
});
*/
});
</script>
</head>
<body>
<div id="content">
<ul class="dropdown">
<li><a href="#">For Facilities</a>
<ul class="sub_menu">
<li><a href="#">Artificial Turf</a></li>
<li>
<a href="#">Batting Cages</a>
<ul>
<li><a href="#">Indoor</a></li>
<li><a href="#">Outdoor</a></li>
</ul>
</li>
<li><a href="#">Benches & Bleachers</a></li>
<li><a href="#">Communication Devices</a></li>
<li><a href="#">Dugouts</a></li>
<li><a href="#">Fencing & Windscreen</a></li>
<li><a href="#">Floor Protectors</a></li>
<li><a href="#">Foul Poles</a></li>
<li><a href="#">Netting</a></li>
<li><a href="#">Outdoor Furniture & Storage</a></li>
<li><a href="#">Outdoor Signs</a></li>
<li><a href="#">Padding</a></li>
<li><a href="#">Scoreboards</a></li>
<li><a href="#">Shade Structures</a></li>
<li><a href="#"> - VIEW ALL - </a></li>
</ul>
</li>
<li><a href="#">Field Maintenance</a>
<ul class="sub_menu">
<li><a href="#">All-in-One Team Cart</a></li>
<li><a href="#">Air & Electrical Reels</a></li>
<li><a href="#">Field Drags</a></li>
<li>
<a href="#">Field Marking Equipment</a>
<ul>
<li><a href="#">Batter's Box Templates</a></li>
<li><a href="#">Dryline Markers</a></li>
<li><a href="#">Field Paint</a></li>
<li><a href="#">Field Sprayers</a></li>
<li><a href="#">Stencils</a></li>
</ul>
</li>
<li>
<a href="#">Field Tarps</a>
<ul>
<li><a href="#">Area Tarps</a></li>
<li><a href="#">Growth Covers / Protectors</a></li>
<li><a href="#">Infield Tarps</a></li>
<li><a href="#">Tarp Accessories</a></li>
</ul>
</li>
<li><a href="#">Hand Tools</a></li>
<li>
<a href="#">Irrigation, Hoses, Nozzles</a>
<ul>
<li><a href="#">Hoses & Hose Reels</a></li>
<li><a href="#">Irrigation</a></li>
<li><a href="#">Nozzles</a></li>
</ul>
</li>
<li><a href="#">Layout & Measurement Tools</a></li>
<li><a href="#">Moisture Removal</a></li>
<li><a href="#">Mound & Home Plate Fortification</a></li>
<li><a href="#">Mowers & Stripers</a></li>
<li><a href="#">Soil & Enviornmental Management</a></li>
<li><a href="#">Soil Amendments</a></li>
<li><a href="#">Spreaders & Sweepers</a></li>
<li><a href="#"> - VIEW ALL - </a></li>
</ul>
</li>
</ul>
</div> <!-- /content -->
</body>
</html>