Skip to content
85cc382 Apr 6, 2013
37 lines (29 sloc) 740 Bytes
<!DOCTYPE html>
<head class="no-skrollr">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Your title</title>
<div id="skrollr-body">
Put all your elements here.
<script type="text/javascript" src="dist/skrollr.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="dist/"></script>
<script type="text/javascript">
var s = skrollr.init();
//Or you may call the init-function at some other point. You could for example use an image preloader.
window.onload = function() {
//Calling it twice doesn't hurt.
Something went wrong with that request. Please try again.