Skip to content

Instantly share code, notes, and snippets.

@theredstapler
Last active June 24, 2016 14:19
Show Gist options
  • Save theredstapler/bb99f9e14a6a520f2acb5e578aed9366 to your computer and use it in GitHub Desktop.
Save theredstapler/bb99f9e14a6a520f2acb5e578aed9366 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<script src="jquery-1.11.3.js"></script>
<script src="jquery.fullPage.min.js"></script>
<link rel="stylesheet" href="jquery.fullPage.css">
<style>
#navbar {
width:100%;
height:50px;
top:0 px;
position:absolute;
z-index:999;
background-color: #000;
opacity:0.8;
padding-top: 10px;
}
#navbar a {
font-family: Arial;
font-size: 32px;
padding-left: 10px;
padding-right: 10px;
color: #fff;
}
div img {
width: 1600px;
height: auto;
}
</style>
</head>
<body>
<div id="navbar"></div>
<div id="wrapper">
<div class="section"><img src="/images/1.jpg" /></div>
<div class="section"><img src="/images/2.jpg" /></div>
<div class="section">
<div class="slide"><img src="/images/3.jpg" /></div>
<div class="slide"><img src="/images/3-2.jpg" /></div>
<div class="slide"><img src="/images/3-3.jpg" /></div>
</div>
<div class="section"><img src="/images/4.jpg" /></div>
</div>
<script>
$(document).ready(function(){
$('#wrapper').fullpage();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment