-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·75 lines (65 loc) · 2.52 KB
/
index.php
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
<!DOCTYPE html>
<html lang="en">
<head><?php require 'head.php'?></head>
<body>
<?php include 'nav.php'?>
<script>
document.getElementById("navHeading").innerHTML = "Home";
$(document).ready(function(){
$('a[href^="index.php"]').addClass('active');
});
</script>
<link rel="stylesheet" href="Pres/w3.css">
<!-- marketing messaging and featurettes -->
<!-- Wrap the rest of the page in another container to center all the content. -->
<div class="container marketing">
<style>
.mySlides {display:none}
</style>
</head>
<body>
<br>
<div class="w3-content">
<a href="ProductLifter.php"><img class="mySlides" src="Pres/slideshow/ProductLifter.JPG" style="width:100%"></a>
<a href="VideoStand.php"><img class="mySlides" src="Pres/slideshow/VideoStand.JPG" style="width:100%"></a>
<a href="Demos.php"><img class="mySlides" src="Pres/slideshow/Demos.gif" style="width:100%"></a>
</div>
<div class="w3-center">
<button class="w3-button demo" onclick="currentDiv(1)">ProductLifter</button>
<button class="w3-button demo" onclick="currentDiv(2)">VIDEO AD STAND</button>
<button class="w3-button demo" onclick="currentDiv(3)">DEMOS</button>
</div>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" w3-blue", "");
}
x[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " w3-blue";
}
setTimeout(automatic, 5000);
function automatic() {
setTimeout(automatic, 5000);
plusDivs(1);
}
</script>
<!-- FOOTER -->
<?php include 'footer.php'?>
</div>
</body>