-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template.html
158 lines (150 loc) · 5.16 KB
/
Template.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Ella - Beautiful Creations</title>
<link href="css/DropdownMenuLaptop.css" type="text/css" rel="stylesheet" media="screen and (min-width:768px)"/>
<link href="css/DropdownMenuMobile.css" type="text/css" rel="stylesheet" media="screen and (max-width:768px)"/>
<link href="css/HomeLaptop.css" type="text/css" rel="stylesheet" media="screen and (min-width:768px)"/>
<link href="css/HomeMobile.css" type="text/css" rel="stylesheet" media="screen and (max-width:768px)"/>
<link rel="stylesheet" href="resource/stylesheet.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/Item.js"></script>
<script src="js/Utilities.js"></script>
<script src="js/Filter.js"></script>
<script>
window.onload=function(){
}
</script>
<style>
</style>
</head>
<body>
<!--the beginning of the page (above the banner image)-->
<div class="container-smallport"><button class="smallport-dropdown" onClick="showMenu()"></button></div>
<div id="small-menu">
<ul id="s-menu" class="menu">
<li class="has-accordion1">
<a class="click" href="#">Stationery</a>
<button id="accordion1" onClick="showInner(1);" class="accordion">+</button>
</li>
<li class="inner-li1"><a class="click" href="#">Writing Instruments</a></li>
<li class="inner-li1"><a class="click" href="#">Paper and Pad</a></li>
<li class="inner-li1"><a class="click" href="#">Drawing Instruments</a></li>
<li class="inner-li1"><a class="click" href="#">Design Sets</a></li>
<li>
<a class="click" href="#">Blog</a>
</li>
<li>
<a class="click" href="#">About</a>
</li>
<li>
<a class="click" href="#">Contact Us</a>
</li>
</ul>
</div>
<div id="mini-top">
<a href="#">English (EN)</a>
<a href="Cart.html">Cart</a>
<button id="search"><img src="resource/search2.png" width="15" height="15" alt=""/></button>
</div>
<div id="modal-search" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p class="search-title">Search Product</p>
<p class="search-description">Find our Beautiful Creations products</p> <form onsubmit="return searchItem(0)" method="post">
<input id="search-form" type="search" name="search" placeholder="Search product">
<input type="submit" value="Find >">
</form> </div>
</div>
<div id="header">
<!-- the logo/brand name (click to go back to Homepage)-->
<a id="back-to-home-logo" href="index.html">
<img src="resource/logo4.png" id="logo" height="75" alt=""/><br>
</a>
</div>
<div id="dropdown-menu" class="banner-less">
<ul class="menu">
<li>
<a class="click" href="#">Stationery</a>
<ul class="submenu">
<li><a href="#" class="smallclick"><img class="icon-image" src="resource/pencil.png" alt=""/><br>
Writing Instruments</a></li>
<li><a href="#" class="smallclick"><img class="icon-image" src="resource/paper.png" alt=""/><br>
Paper and Pad</a></li>
<li><a href="#" class="smallclick"><img class="icon-image" src="resource/palette.png" alt=""/><br>
Drawing Instruments</a></li>
<li><a href="#" class="smallclick"><img class="icon-image" src="resource/stationery2.png" alt=""/><br>
Design Sets</a></li>
</ul>
</li>
<li>
<a class="click" href="#">Blog</a>
</li>
<li>
<a class="click" href="#">About</a>
</li>
<li>
<a class="click" href="#">Contact Us</a>
</li>
</ul>
</div>
<!--
FILL IN THE BLANKS
-->
<!--
END OF BLANKS
-->
<div id="bottom">
<div class="bottom1"><img src="resource/logo4.png" height="80" alt=""/></div>
<div class="third2">
<span>Selected Dealers</span>
<a href="#" class="bottom-button">Find a store</a>
</div>
<div class="third2">
<span>Contact</span>
<a href="#">Contact Us</a>
</div>
<div class="third2">
<span>Pen of the Year</span>
<a href="#" class="bottom-button">Registration</a>
</div>
<hr width="100%">
<div id="lean-left">
<span>© Ella- Beautiful Creations 2017</span>
<a href="#">Presses</a>
<a href="#">Service Address</a>
<a href="#">Imprint</a>
</div>
<div id="lean-right">
<span>Follows us: </span>
<!-- Add font awesome icons -->
<a href="#" class="fa fa-facebook"></a>
<a href="#" class="fa fa-twitter"></a>
</div>
</div>
</body>
</html>
<script>
// Get the modal
var modal = document.getElementById("modal-search");
// Get the button that opens the modal
var btn = document.getElementById("search");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>