-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidebarmain.php
177 lines (163 loc) · 6.4 KB
/
sidebarmain.php
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<div class="rsidebar span_1_of_left">
<section class="sky-form">
<div class="product_right">
<h3 class="m_2">Categories</h3>
<div class="tab1">
<ul class="place">
<li class="sort">JEANS</li>
<li class="by"><img src="images/do.png" alt=""></li>
<div class="clearfix"> </div>
</ul>
<div class="single-bottom">
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
</div>
</div>
<div class="tab2">
<ul class="place">
<li class="sort">SHIRTS</li>
<li class="by"><img src="images/do.png" alt=""></li>
<div class="clearfix"> </div>
</ul>
<div class="single-bottom">
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
</div>
</div>
<div class="tab3">
<ul class="place">
<li class="sort">SUITS</li>
<li class="by"><img src="images/do.png" alt=""></li>
<div class="clearfix"> </div>
</ul>
<div class="single-bottom">
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
</div>
</div>
<div class="tab4">
<ul class="place">
<li class="sort">CASUAL</li>
<li class="by"><img src="images/do.png" alt=""></li>
<div class="clearfix"> </div>
</ul>
<div class="single-bottom">
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
</div>
</div>
<div class="tab5">
<ul class="place">
<li class="sort">SHORTS</li>
<li class="by"><img src="images/do.png" alt=""></li>
<div class="clearfix"> </div>
</ul>
<div class="single-bottom">
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
<a href="#"><p>sub category1</p></a>
</div>
</div>
<!--script-->
<script>
$(document).ready(function(){
$(".tab1 .single-bottom").hide();
$(".tab2 .single-bottom").hide();
$(".tab3 .single-bottom").hide();
$(".tab4 .single-bottom").hide();
$(".tab5 .single-bottom").hide();
$(".tab1 ul").click(function(){
$(".tab1 .single-bottom").slideToggle(300);
$(".tab2 .single-bottom").hide();
$(".tab3 .single-bottom").hide();
$(".tab4 .single-bottom").hide();
$(".tab5 .single-bottom").hide();
})
$(".tab2 ul").click(function(){
$(".tab2 .single-bottom").slideToggle(300);
$(".tab1 .single-bottom").hide();
$(".tab3 .single-bottom").hide();
$(".tab4 .single-bottom").hide();
$(".tab5 .single-bottom").hide();
})
$(".tab3 ul").click(function(){
$(".tab3 .single-bottom").slideToggle(300);
$(".tab4 .single-bottom").hide();
$(".tab5 .single-bottom").hide();
$(".tab2 .single-bottom").hide();
$(".tab1 .single-bottom").hide();
})
$(".tab4 ul").click(function(){
$(".tab4 .single-bottom").slideToggle(300);
$(".tab5 .single-bottom").hide();
$(".tab3 .single-bottom").hide();
$(".tab2 .single-bottom").hide();
$(".tab1 .single-bottom").hide();
})
$(".tab5 ul").click(function(){
$(".tab5 .single-bottom").slideToggle(300);
$(".tab4 .single-bottom").hide();
$(".tab3 .single-bottom").hide();
$(".tab2 .single-bottom").hide();
$(".tab1 .single-bottom").hide();
})
});
</script>
<!-- script -->
<section class="sky-form">
<h4>Brand</h4>
<div class="row row1 scroll-pane">
<div class="col col-4">
<label class="checkbox"><input type="checkbox" name="checkbox" checked=""><i></i>Roadstar</label>
</div>
<div class="col col-4">
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>VAPH</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>Puma</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>Oakley</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>Manga</label>
<label class="checkbox"><input type="checkbox" name="checkbox" ><i></i>Pepe Jeans</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>Crocodile</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>Zumba</label>
<input type="checkbox" id="myCheck" onclick="myFunction()">
<p id="text" style="display:none">Checkbox is CHECKED!
</p>
</div>
</div>
</section>
<script>
function myFunction() {
var checkBox = document.getElementById("myCheck");
var text = document.getElementById("text");
if (checkBox.checked == true){
text.style.display = "block";
} else {
text.style.display = "none";
}
}
</script>
<br>
<section class="sky-form">
<h4>Price</h4>
<div class="row row1 scroll-pane">
<div class="col col-4">
<label class="checkbox"><input type="checkbox" name="checkbox" checked=""><i></i>$50.00 and Under (30)</label>
</div>
<div class="col col-4">
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>$100.00 and Under (30)</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>$200.00 and Under (30)</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>$300.00 and Under (30)</label>
<label class="checkbox"><input type="checkbox" name="checkbox"><i></i>$400.00 and Under (30)</label>
</div>
</div>
</section>
</div>
</div>