-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.htm
207 lines (180 loc) · 4.84 KB
/
main.htm
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
<!DOCTYPE html>
<html>
<body>
<header>
<img src="/home/qburst/Desktop/sample project/Images/2_414_s.jpg" width="80px" style="float:right;width:40px;">
<div class="dropdown">
<label class="dropbtn">Business Analysis</label>
<div class="dropdown-content">
<label onclick="change(0)">Business Approach</label>
<label onclick="change(1)">Current Statistics</label>
</div>
</div>
<div class="dropdown">
<label class="dropbtn">Marketing Research</label>
<div class="dropdown-content">
<label onclick="change(2)">Current Trends</label>
<label onclick="change(3)">Efficient Marketing</label>
</div>
</div>
<button class="dropbtn" style="margin-left: 800px;" onclick="pop()">Contact Us</button>
<div id="popup1" class="overlay">
<div class="popup">
<h2 style="margin-top:0;color:#7A091C">Contact Us</h2>
<a class="close" href="/home/qburst/Desktop/sample project/main.html">×</a>
<div class="content">
<br/>
</div>
</div>
</div>
<!--<select>
<option disabled selected>Business Analysis</option>
<option>Business Approach</option>
<option onselect="change(0)">Current Statistics</option>
</select>
<select>
<option disabled selected>Marketing Research</option>
<option onchange="change(0)">Current Trends</option>
<option onchange="change(0)">Efficient Marketing</option>
</select>-->
</header>
<section>
<p id="para">We are the market leaders in<br/>Business Analysis and <br/>Marketing Research.
</font></p>
</section>
</body>
<head>
<style>
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color: #06D85F;
}
.dropbtn {
background-color: #ffe6e6;
padding: 14px;
font-size: 14px;
border: none;
cursor: pointer;
}
.dropbtn:hover{
background-color: #C22554;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 140px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content label {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn{
background-color: #C22554;
}
.dropdown-content label:hover {background-color: #f1f1e2;
cursor: pointer;
}
section{
font-size: 60px;
}
h1{
font-size: 30px;
}
header{
margin:10px;
padding: 10px;
margin:0px;
word-spacing: 10px;
}
body{
background-image: url("/home/qburst/Desktop/sample project/Images/Business-Photos.jpg");
background-size: cover;
}
p{
margin-top:150px;
margin-left: 60px;
color:#7A091C;
}
</style>
<script type="text/javascript">
var txt=document.getElementById("para");
function change(x)
{
if(x==0){
txt.innerHTML="We help your Business<br/>grow with best approach.";
txt.style.marginLeft="130px";
txt.style.marginTop="150px";
txt.style.color="#143B05";
document.body.style.background="url('/home/qburst/Desktop/sample project/Images/Untitled-3-copy.jpg')";
}
else if(x==1){
txt.innerHTML="We support you to manage your Business analysing current scenario.";
txt.style.marginLeft="700px";
txt.style.marginTop="30px";
txt.style.color="black";
document.body.style.background="url('/home/qburst/Desktop/sample project/Images/business-statistics-12449648.jpg')";
}
else if(x==2){
txt.innerHTML="We analyse the current<br/>trends in the market<br/>and facilitate your<br/>product hit the<br/>market.";
txt.style.marginLeft="50px";
txt.style.marginTop="90px";
txt.style.color="#C22554";
document.body.style.background="url('/home/qburst/Desktop/sample project/Images/images (1).jpg')";
}
else if(x==3){
txt.innerHTML="We adopt the best<br/>practice for your<br/>product marketing.";
txt.style.marginLeft="100px";
txt.style.marginTop="110px";
txt.style.color="#7A091C";
document.body.style.background="url('/home/qburst/Desktop/sample project/Images/marketing-charts-2016_mini-1100x620.jpeg')";
}
document.body.style.backgroundSize="cover";
}
function pop()
{
document.getElementById("popup1").style.visibility="visible";
document.getElementById("popup1").style.opacity=1;
}
</script>
</head>
</html>