Skip to content

Instantly share code, notes, and snippets.

@BrieLewis
Last active April 26, 2017 20:52
Show Gist options
  • Save BrieLewis/2736588bcc60eebcb841823f57920ae8 to your computer and use it in GitHub Desktop.
Save BrieLewis/2736588bcc60eebcb841823f57920ae8 to your computer and use it in GitHub Desktop.
phamhomepage
license: mit
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>W3.CSS</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<body style="background-color:darkblue">
<h2 class="w3-center"; style="font-family:armata; color: white">PHAMERATOR</h2>
<div class="w3-content w3-display-container">
<img class="mySlides" src="https://scontent.xx.fbcdn.net/v/t1.0-9/17799248_1437010912986312_1784653687192383326_n.jpg?oh=b0e5ffa4a2e720b6cee885c7f615e34a&oe=59581E74" style="width:100%">
<img class="mySlides" src="img_lights.jpg" style="width:100%">
<img class="mySlides" src="https://scontent.xx.fbcdn.net/v/t1.0-9/17796140_1437021159651954_498241527486966878_n.jpg?oh=7bbfa7148a80018b5f0804697288f119&oe=599B0380" style="width:100%">
<img class="mySlides" src="img_forest.jpg" style="width:100%">
<button class="w3-button w3-black w3-display-left" onclick="plusDivs(-1)">&#10094;</button>
<button class="w3-button w3-black w3-display-right" onclick="plusDivs(1)">&#10095;</button>
</div>
<div id='iframediv'>
</div>
<iframe width="460" height="315" align="bottom"style="padding:20px;border"
src="https://www.youtube.com/embed/ZiQh8jA5tVM" frameborder="0" allowfullscreen></iframe>
<iframe width="460" height="315" align="bottom"style="padding:20px;border"
src="https://gitter.im/Phamerator-Inquiries" frameborder="0" allowfullscreen></iframe>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex-1].style.display = "block";
}
</script>
</body>
</html>
Built with [blockbuilder.org](http://blockbuilder.org)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment