-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
349 lines (309 loc) · 14 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
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<html>
<head>
<title>profile</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./img/368604041_840485437510684_2113001665853681955_n.jpg">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
body, html {
height: 100%;
line-height: 1.8;
}
/* Full height image header */
@keyframes imageChangeAnimation {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.bgimg-1, .bgimg-2 ,.bgimg-3 {
background-position: center;
background-size: cover;
min-height: 170%;
animation: imageChangeAnimation 10s infinite alternate; /* เพิ่ม alternate เพื่อสลับกลับมา */
}
.bgimg-1 {
background-image: url("img/403626773_788292649978553_1567630547109638039_n.jpg");
}
.bgimg-2 {
background-image: url("img/322368407_706950707732238_5364821207455360859_n.jpg");
}
.bgimg-3 {
background-image: url("img/352385629_522137153333452_1221489476079775081_n.jpg");
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
</head>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top ">
<div class="w3-bar w3-white w3-card" id="myNavbar">
<a href="#home" class="w3-bar-item w3-button w3-wide">LOGO</a>
<!-- Right-sided navbar links -->
<div class="w3-right w3-hide-small">
<a href="#about" class="w3-bar-item w3-button">ABOUT</a>
<a href="index.html" class="w3-bar-item w3-button"><i class="fa fa-user"></i> index</a>
<a href="java.html" class="w3-bar-item w3-button"><i class="fa fa-th"></i> java</a>
<a href="api.html" class="w3-bar-item w3-button"><i class="fa fa-usd"></i> api</a>
<a href="#contact" class="w3-bar-item w3-button"><i class="fa fa-envelope"></i> CONTACT</a>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="w3_open()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-large w3-padding-16">Close ×</a>
<a href="#about" onclick="w3_close()" class="w3-bar-item w3-button">ABOUT</a>
<a href="#team" onclick="w3_close()" class="w3-bar-item w3-button">TEAM</a>
<a href="#work" onclick="w3_close()" class="w3-bar-item w3-button">WORK</a>
<a href="#pricing" onclick="w3_close()" class="w3-bar-item w3-button">PRICING</a>
<a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button">CONTACT</a>
</nav>
<!-- Header with full-height image -->
<header class="bgimg-3">
้<header class="bgimg-1">
<header class="bgimg-2 " id="home">
<div class="w3-display-left w3-text-white" style="padding:48px">
<span class="w3-jumbo w3-hide-small">Pubordee Srisurach</span><br>
<span class="w3-xxlarge w3-hide-large w3-hide-medium">Pubordee Srisurach</span><br>
<span class="w3-large">Maha Sarakham Rajabhat University.</span>
<p><a href="#about" class="w3-button w3-white w3-padding-large w3-large w3-margin-top w3-opacity w3-hover-opacity-off">Learn more and start today</a></p>
</div>
<div class="w3-display-bottomleft w3-text-grey w3-large" style="padding:24px 48px">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</div>
</header>
</header>
</header>
<!-- About Section -->
<div class="w3-container" style="padding:128px 16px" id="about">
<h3 class="w3-center">ABOUT THE COMPANY</h3>
<p class="w3-center w3-large">Key features of our company</p>
<div class="w3-row-padding w3-center" style="margin-top:64px">
<div class="w3-quarter">
<i class="fa fa-desktop w3-margin-bottom w3-jumbo w3-center"></i>
<p class="w3-large">Responsive</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-heart w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">Passion</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-diamond w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">Design</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
</div>
<div class="w3-quarter">
<i class="fa fa-cog w3-margin-bottom w3-jumbo"></i>
<p class="w3-large">Support</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
</div>
</div>
</div>
<!-- Promo Section - "We know design" -->
<div class="w3-container w3-light-grey" style="padding:128px 16px">
<div class="w3-row-padding">
<div class="w3-col m6">
<h2>About Me</h2>
<p>Hello My Name is uro I'm Interested About Writing Program on pc
I'm Need Practice Position About IT Side Write Program I'm Open My Mind And Enthusiastic Learn </p>
<p><a href="#work" class="w3-button w3-black"><i class="fa fa-th"> </i> View Our Works</a></p>
</div>
<div class="w3-col m6">
<img class="w3-image w3-round-large" src="./img/369192039_298700103082321_4666121278925195014_n.jpg" alt="Buildings" width="800" height="394" style="left: 200px;">
</div>
</div>
</div>
<!-- Promo Section "Statistics" -->
<div class="w3-container w3-row w3-center w3-black w3-padding-64">
<div class="w3-quarter">
<span class="w3-xxlarge">14+</span>
<br>Partners
</div>
<div class="w3-quarter">
<span class="w3-xxlarge">55+</span>
<br>Projects Done
</div>
<div class="w3-quarter">
<span class="w3-xxlarge">89+</span>
<br>Happy Clients
</div>
<div class="w3-quarter">
<span class="w3-xxlarge">150+</span>
<br>Meetings
</div>
</div>
<!-- Work Section -->
<div class="w3-container" style="padding:128px 16px" id="work">
<h3 class="w3-center">OUR WORK</h3>
<p class="w3-center w3-large">What we've done for people</p>
<div class="w3-row-padding" style="margin-top:64px">
<div class="w3-col l3 m6">
<img src="./img/370201260_861053552688152_652419213586659235_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A microphone">
</div>
<div class="w3-col l3 m6">
<img src="/img/310421852_2856775547951179_3009862536068639697_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A phone">
</div>
<div class="w3-col l3 m6">
<img src="img/352359310_564543992426027_8497067509949622745_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A drone">
</div>
<div class="w3-col l3 m6">
<img src="img/352385629_522137153333452_1221489476079775081_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Soundbox">
</div>
</div>
<div class="w3-row-padding w3-section">
<div class="w3-col l3 m6">
<img src="img/322368407_706950707732238_5364821207455360859_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A tablet">
</div>
<div class="w3-col l3 m6">
<img src="img/321594597_3396246157320930_5746342677837374078_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A camera">
</div>
<div class="w3-col l3 m6">
<img src="img/324299316_1797546183947111_3917202437168902384_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A typewriter">
</div>
<div class="w3-col l3 m6">
<img src="/img/273872229_2686279838334085_616997501225617093_n.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A tableturner">
</div>
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" onclick="this.style.display='none'">
<span class="w3-button w3-xxlarge w3-black w3-padding-large w3-display-topright" title="Close Modal Image">×</span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption" class="w3-opacity w3-large"></p>
</div>
</div>
<!-- Skills Section -->
<div class="w3-container w3-light-grey w3-padding-64">
<div class="w3-row-padding">
<div class="w3-col m6">
<h3>Our Skills.</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod<br>
tempor incididunt ut labore et dolore.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod<br>
tempor incididunt ut labore et dolore.</p>
</div>
<div class="w3-col m6">
<p class="w3-wide"><i class="fa fa-camera w3-margin-right"></i>Photography</p>
<div class="w3-grey">
<div class="w3-container w3-dark-grey w3-center" style="width:49%">49%</div>
</div>
<p class="w3-wide"><i class="fa fa-desktop w3-margin-right"></i>Web Design</p>
<div class="w3-grey">
<div class="w3-container w3-dark-grey w3-center" style="width:85%">85%</div>
</div>
<p class="w3-wide"><i class="fa fa-photo w3-margin-right"></i>Photoshop</p>
<div class="w3-grey">
<div class="w3-container w3-dark-grey w3-center" style="width:23%">23%</div>
</div>
</div>
</div>
</div>
<!-- Pricing Section -->
<div class="w3-container w3-center " style="padding:128px 16px" id="pricing">
<h3>Education</h3>
<p class="w3-large">Choose a pricing plan that fits your needs.</p>
<div class="w3-row-padding" style="margin-top:64px">
<div class="w3-third w3-section">
<ul class="w3-ul w3-white w3-hover-shadow">
<li class="w3-black w3-xlarge w3-padding-32">BAN SONG NANG YAI MUNICIPAL SCHOOL.</li>
<li class="w3-padding-16"><b>2009 - </b> 2017</li>
</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-black w3-padding-large">Sign Up</button>
</li>
</ul>
</div>
<div class="w3-third">
<ul class="w3-ul w3-white w3-hover-shadow">
<li class="w3-red w3-xlarge w3-padding-48">Rajabhat Maha Sarakham University</li>
<li class="w3-padding-16"><b>2021 - </b> Present</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-black w3-padding-large">Sign Up</button>
</li>
</ul>
</div>
<div class="w3-third w3-section">
<ul class="w3-ul w3-white w3-hover-shadow">
<li class="w3-black w3-xlarge w3-padding-32">Buraphaphitthayakhan Municupal School</li>
<li class="w3-padding-16"><b>2018 - </b> 2020</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-black w3-padding-large">Sign Up</button>
</li>
</ul>
</div>
</div>
</div>
<!-- Contact Section -->
<div class="w3-container w3-light-grey" style="padding:128px 16px" id="contact">
<h3 class="w3-center">CONTACT</h3>
<p class="w3-center w3-large">Lets get in touch. Send us a message:</p>
<div style="margin-top:48px">
<p><i class="fa fa-map-marker fa-fw w3-xxlarge w3-margin-right"></i> 3 alley 60 RoadNakhon Sawan Tambonmarke AreaMuang Maha Sarakham 44000
</p>
<p><i class="fa fa-phone fa-fw w3-xxlarge w3-margin-right"></i> Phone: 061-510-9439</p>
<p><i class="fa fa-envelope fa-fw w3-xxlarge w3-margin-right"> </i> Email: [email protected]</p>
<br>
<!-- Footer -->
<footer class="w3-center w3-black w3-padding-64">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
<div class="w3-xlarge w3-section">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</div>
<p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-text-green">w3.css</a></p>
</footer>
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Toggle between showing and hiding the sidebar when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none";
}
const bgImages = document.querySelector(".bgImages");
let currentImageIndex = 0;
setInterval(() => {
currentImageIndex = 1 - currentImageIndex; // สลับระหว่าง 0 และ 1
bgImages.style.transform = `translateX(-${currentImageIndex * 100}%)`;
}, 4000); // เปลี่ยนภาพทุก 4 วินาที
</script>
</script>
</body>
</html>