-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (24 loc) · 867 Bytes
/
index.html
File metadata and controls
27 lines (24 loc) · 867 Bytes
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
<html>
<head>
<title>Sideways scrolling test</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.mousewheel.js"></script>
<link href="style.css" rel="stylesheet" type="text/css">
<script>
$(function() {
$("body").mousewheel(function(event, delta) {
this.scrollLeft -= (delta * 30);
event.preventDefault();
});
});
</script>
</head>
<body>
<div id="wide">
<h1>Long horizontal infographic goes here ---------------------------------------------------------------------------------------></h1>
<p>and copy encourages people to scroll down with their mouse-wheel which should go sideways ------></p>
<p>The idea would be that we would create an infographic that worked naturally as a long story.</p>
</div>
<p class="tall"> </p>
</body>
</html>