-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
209 lines (156 loc) · 6.24 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>INTEDECO</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<style>
.slideshow_wrapper {
width:500px;
height:280px;
/*overflow: hidden;*/
}
.slider {
width: 1260px;
margin: 0 auto;
/*: 700px;*/
}
.slider-wrapper {
width: 100%;
height: 393px;
position: relative;
}
.slide {
float: left;
position: absolute;
width: 100%;
height: 100%;
opacity: 2;
transition: opacity 3s linear;
}
.slider-wrapper > .slide:first-child {
opacity: 1;
</style>
</head>
<body>
<div class="header">
<img class="logo" src="images/images.png" width="70px" height="50px">
<ul>
<a href="index.html"><li>Home</li></a>
<a href="about.html"><li>About</li></a>
<a href="Our-work.html"><li>Our-work</li></a>
<a href="contact.html"><li>Contact</li></a>
</ul>
</div>
<div class="content">
<div class="slider" id="main-slider" style=margin-top: 50px;"><!-- outermost container element -->
<div class="slider-wrapper"><!-- innermost wrapper element -->
<img src="images/21.jpg" alt="First" class="slide" style="max-width: 100%; height: 400px;" /><!-- slides -->
<img src="images/15.jpg" alt="Second" class="slide" style="max-width: 100%; height: 400px;"/>
<img src="images/41.jpg" alt="Third" class="slide" style="max-width: 100%; height: 400bpx;"/>
</div>
</div>
<script type="text/javascript">
(function() {
function Slideshow( element ) {
this.el = document.querySelector( element );
this.init();
}
Slideshow.prototype = {
init: function() {
this.wrapper = this.el.querySelector( ".slider-wrapper" );
this.slides = this.el.querySelectorAll( ".slide" );
this.previous = this.el.querySelector( ".slider-previous" );
this.next = this.el.querySelector( ".slider-next" );
this.index = 0;
this.total = this.slides.length;
this.timer = null;
this.action();
this.stopStart();
},
_slideTo: function( slide ) {
var currentSlide = this.slides[slide];
currentSlide.style.opacity = 1;
for( var i = 0; i < this.slides.length; i++ ) {
var slide = this.slides[i];
if( slide !== currentSlide ) {
slide.style.opacity = 0;
}
}
},
action: function() {
var self = this;
self.timer = setInterval(function() {
self.index++;
if( self.index == self.slides.length ) {
self.index = 0;
}
self._slideTo( self.index );
}, 4000);
},
stopStart: function() {
var self = this;
self.el.addEventListener( "mouseover", function() {
clearInterval( self.timer );
self.timer = null;
}, false);
self.el.addEventListener( "mouseout", function() {
self.action();
}, false);
}
};
document.addEventListener( "DOMContentLoaded", function() {
var slider = new Slideshow( "#main-slider" );
});
})();
</script>
</center>
<hr>
<div class="writings">
<h1>MODERN SPACE</h1>
<h3>Modern space is an independent creative agency based in Abuja</h3>
<h3>primarily focused on the interior design sector,we design and deliver</h3>
<h3> creative collateral for some of the worlds most exclusive brands.</h3>
<h3>Our clients portfolio spans a range of industries including,interior design,arts,property.</h3>
<h3>We combine a clear design aesthetic with solid commercial rationale that truly inspire</h3>
<h3>inform and engage.</h3>
<h3>This site gives you a bit of the background about us and examples of our works.if</h3>
<h3>you have something in mind or are looking for something in particular,get intouch,that’s</h3>
<h3>what we are here for.</h3>
</div>
<div class="FOOTER">
<div id="footer1">
<ul>
<h2>Office suites</h2>
<a href="plans.html"<li>Plans</li></a>
<br>
<a href="support.html"<li>Support</li></a>
<br>
<a href="design.html"<li>Design</li></a>
</ul>
</div>
<div id="footer2">
<ul>
<h2>Company</h2>
<a href="about.html"><li>about</li></a>
<br>
<a href="market.html"<li>market</li></a>
<br>
<a href="partners.html"<li>partners</li></a>
</ul>
</div>
<div id="footer3">
<ul>
<h2>Contact Us</h2>
<h5>08099487063.</h5>
<h5>no18.</h5>
<h5>herbert mauculay street,maitama,Abuja.</h5>
</ul>
</div>
<div id="footer4">
<ul>
<h5>© 2019,All rights Reserved.</h5>
</ul>
</div>
</body>
</html>