-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtulipsareesdemo.html
276 lines (275 loc) · 12.3 KB
/
tulipsareesdemo.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script>
var Img=['<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.slides/5a6b80685a0ff4fce6fd8d57-2048x2048.jpg" />','<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.slides/5a4a85fd70d5c0ecb9e9eb74-2048x2048.jpg" />','<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.slides/5a4544c482b387eed223d4e7-2048x2048.jpg" />','<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.slides/59942b1f62aa868b49441898-2048x2048.jpg" />'];
var Loop = setInterval(slideRight,3000);
$(window).focus(function (){
if(!Loop)
Loop = setInterval(slideRight,3000);
});
$(window).blur(function (){
clearInterval(Loop);
Loop = 0;
});
function slideLeft() {
var pos = 0;
var Time = setInterval(Slide,10);
function Slide() {
if(pos == -100) {
clearInterval(Time);
}
else {
pos--;
document.getElementById("face").style.left = pos+'vw';
}
}
document.getElementById("face").style.left = "100vw";
show();
var temp=Img[0];
Img[0]=Img[1];
Img[1]=Img[2];
Img[2]=Img[3];
Img[3]=temp;
clearInterval(Loop);
Loop = setInterval(slideRight,3000);
}
function slideRight() {
var temp=Img[3];
Img[3]=Img[2];
Img[2]=Img[1];
Img[1]=Img[0];
Img[0]=temp;
show();
document.getElementById("face").style.left = "-100vw";
var pos = -100;
var Time = setInterval(Slide,10);
function Slide() {
if(pos==0) {
clearInterval(Time);
}
else {
pos++;
document.getElementById("face").style.left = pos+'vw';
}
}
clearInterval(Loop);
Loop = setInterval(slideRight,3000);
}
function show() {
document.getElementById("face").innerHTML=Img[0]+Img[1]+Img[2]+Img[3];
}
$(document).ready(function(){
$("body").click(function(e){
var target1 = e.target;
var cont = $("#topMenu");
if(target1.id == "topMenuButton" || (target1.parent().id == "topMenu" && target1.nodeName == "li")) {
cont.animate({left: '89.4vw', opacity: 1},{duration: 1000,queue: false}).clearQueue().delay(1100).animate({height: '12vh'}).delay(2000);
cont.animate({height: '4vh'}).delay(200);
cont.animate({left: '98vw', opacity: 0},{duration: 1000});
}
});
});
</script>
<style>
/*styling the scrollbar*/
::-webkit-scrollbar {
width:0.35vw;
}
::-webkit-scrollbar-track {
background:#faa;
}
::-webkit-scrollbar-thumb {
background:#f44;
}
::-webkit-scrollbar-thumb:active {
background:#f00;
}
/*styling scrollbar ends*/
ul li {
font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
width:6vw;
height:4vh;
background-color:red;
color:white;
text-align:center;
line-height:4vh;
}
#face img {
width:100vw;
height:50vh;
float:left;
}
.gImage {
width:84vw;
height:54vh;
margin-left:8vw;
}
div, img {
width:inherit;
height:inherit;
}
.gImage img {
width:26vw;
height:51vh;
margin:0vh 1vw 3vh 1vw;
float:left;
}
.groupSarees {
width:82vw;
height:6vh;
background-color:black;
margin-left:9vw;
line-height:3vw;
}
.groupSarees pre {
color:white;
font-size:1.1vw;
font-family:verdana;
}
.about {
padding-left:3vw;
width:22vw;
height:35vh;
float:left;
}
.about h3, .about p {
color:white;
font-family:verdana;
}
.about p.Addr {
line-height:4vh;
}
.Payment {
height:30.8vh;
}
.Payment img {
float:left;
}
.Footer {
width:25vw;
color:white;
float:left;
text-align:center;
line-height:7.5vh;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body style="margin:0px;padding:0px;overflow-x:hidden;" onload="show()">
<div style="width:100vw;height:4vh;background-color:#d9dede;">
<div id="topMenuButton" style="width:2vw;left:98vw;position:absolute;background-color:red;color:white;background-size:contain;font-size:3vh;text-align:center;z-index:1;"><i class="fa fa-list-ul" id="topMenuButton" style="margin-top:0.5vh;"></i></div>
<ul id="topMenu" style="list-style-type:none;left:98vw;position:absolute;height:4vh;opacity:0;overflow:hidden;top:-2.1vh;">
<li>Login</li>
<li>Register</li>
<li>Wishlist</li>
</ul>
</div>
<div style="width:100vw;height:18vh;background-color:#fff;">
<div style="width:55vw;float:left;"><img src="https://pbs.twimg.com/profile_images/879755771143008256/4c6g1JpR_400x400.jpg" style="width:18vh;height:18vh;float:right;" alt="Tulipsarees.com"/></div>
<div style="width:16.5vw;height:11vh;float:right;padding-top:7vh;padding-left:3.5vw;">
<form action="#" method="get" style="width:14.2vw;height:3.4vh;" name="form1">
<input type="search" placeholder="Ask for a boon.." style="height:3.4vh;width:12vw;float:left;margin-right:0.2vw;"/>
<button type="submit" form="form1" style="height:3.4vh;width:1.7vw;border:none;outline:none;font-size:1.9vh;float:left;"><i class="fa fa-search"></i></button>
</form>
</div>
</div>
</div>
<div style="width:100vw;height:7vh;background-color:#000;"></div>
<div style="width:400vw;height:50vh;">
<div style="width:400vw;overflow-x:auto;position:absolute;" id="face"></div>
<div style="width:100vw;position:absolute;z-index:1;">
<button type="button" style="width:4vw;height:8vh;margin-top:21vh;font-size:6vh;text-align:center;opacity:0.3;float:left;" onclick="slideLeft()"><i class="fa fa-angle-left"></i></button>
<button type="button" style="width:4vw;height:8vh;margin-top:21vh;font-size:6vh;text-align:center;opacity:0.3;float:right;" onclick="slideRight()"><i class="fa fa-angle-right"></i></button>
</div>
</div>
<div style="text-align:center;color:#999;width:100vw;height:10vh;line-height:10vh;font-size:3vh;font-family:verdana;">Welcome to our online store - Tulip Sarees!</div>
<div style="width:100vw;height:7vh;margin-bottom:8vh;">
<div style="width:39.5vw;height:0.2vh;background-color:#888;float:left;margin-right:1.5vw;margin-top:3.4vh;"></div>
<div style="width:18vw;background-color:#888;float:left;font-family:verdana;">
<div style="width:17.8vw;height:6.6vh;margin-top:0.2vh;margin-left:0.1vw;background-color:white;text-align:center;font-size:1.6vw;line-height:3vw;color:#888;">SHOP BY CATEGORY</div>
</div>
<div style="width:39.5vw;height:0.2vh;background-color:#888;float:right;margin-top:3.4vh;"></div>
</div>
<div class="gImage">
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e30e86e40feaae5e2440-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e3919d68fc17721a6037-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e3919d68fc17721a6037-480x480.png" />
</div>
<div class="gImage">
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e432956a0e177c64190d-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e47844c7eb2d86395cba-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e4e744c7eb2d86395dbe-480x480.png" />
</div>
<div class="gImage" style="margin-bottom:3vh;">
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e55544c7eb2d86395e61-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e5a8956a0e177c641bda-480x480.png" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a60e5f0a4f7112da58fb19d-480x480.png" />
</div>
<div class="groupSarees"><pre> NEW ARRIVALS</pre></div>
<div style="width:81.8vw;height:49.6vh;margin-left:9vw;margin-bottom:5vh;border:0.2vh solid #888;"></div>
<div class="groupSarees"><pre> MOST POPULAR</pre></div>
<div style="width:81.8vw;height:49.6vh;margin-left:9vw;margin-bottom:5vh;border:0.2vh solid #888;"></div>
<div class="groupSarees"><pre> SPECIAL COLLECTION</pre></div>
<div style="width:81.8vw;height:49.6vh;margin-left:9vw;margin-bottom:5vh;border:0.2vh solid #888;"></div>
<div style="width:50vw;height:27vh;margin:0vh 0vw 2vh 25vw;">
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/598ca38bcf37b2cd580e3699-2048x2048.jpg" />
</div>
<div style="width:100vw;height:70vh;background-color:black;margin-bottom:0.2vh;">
<div class="about">
<h3>CONTACT</h3>
<p>9748495011</p>
<p>wecare@tulipsarees.com</p>
</div>
<div class="about">
<h3>INFORMATION</h3>
<p>About Us</p>
<p>Contact Us</p>
</div>
<div class="about">
<h3>POLICIES</h3>
<p>Shopping</p>
<p>Return</p>
<p>Payment Methods</p>
</div>
<div class="about">
<h3>ACCOUNT</h3>
<p>My Account</p>
<p>Wishlist</p>
</div>
<div class="about">
<h3>ADDRESS</h3>
<p class="Addr">Tulip Sarees<br />
Garia<br />
Kolkata<br />
West Bengal<br />
IN
</p>
</div>
</div>
<div style="width:100vw;height:54vh;background-color:black;margin-bottom:0.2vh;">
<div class="Payment">
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/597a4d54aaf5a17a6c5715d5-640x640.png" style="width:20vw;height:17vh;margin-left:8vw;margin-top:6.9vh;" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/59761bb19cea36816cb896df-640x640.png" style="width:20vw;height:15vh;margin-left:10vw;margin-top:7.9vh;" />
<img src="https://cdn.storehippo.com/s/58d2076fd4d5865e495c9686/ms.banners/5a415cd89adc0027c5ef1d03-640x640.png" style="width:25vw;height:19vh;margin-left:9vw;margin-top:5.9vh;" />
</div>
<div style="width:88vw;height:0.2vh;margin-left:6vw;background-color:white;"></div>
<div style="height:8vh;margin-top:3vh;text-align:center;font-size:3.5vh;color:white;font-family:'Lucida Sans Unicode', 'Lucida Grande', sans-serif;line-height:8vh;">Follow us on social media for more updates!</div>
<div style="height:6vh;margin-bottom:7vh;">
<img src="http://pngimg.com/uploads/facebook_logos/facebook_logos_PNG19751.png" style="width:4vw;height:6vh;margin-left:42.5vw;" />
<img src="http://moziru.com/images/original-clipart-transparent-9.png" style="width:3vw;height:6vh;margin-left:1vw;" />
<img src="https://vignette.wikia.nocookie.net/spongebob/images/8/87/Instagram-Logo-PNG-Transparent-Background-download.png/revision/latest?cb=20171028143502" style="width:3vw;height:6vh;margin-left:1vw;" />
<img src="http://sguru.org/wp-content/uploads/2018/02/Media-youtube-icon.png" style="width:3vw;height:6vh;margin-left:1vw;" />
</div>
</div>
<div style="height:8vh;background-color:black;font-family:verdana;">
<div class="Footer">Copyright © Tulip Sarees v4.0</div>
<div class="Footer" style="float:right;">Powered by Lansyn</div>
</div>
</body>
</html>