-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
36 lines (36 loc) · 1.38 KB
/
test.html
File metadata and controls
36 lines (36 loc) · 1.38 KB
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
<html>
<head>
<script src="skroller.js">
skroller.init();
</script>
<style>
body { margin:0;
}
</style>
</head>
<body style="height:2000px;" onload="skroller.init()" onscroll="skroller.update()">
<div class="skrollSpecial" style="background-color:black;
width:50%;
position:fixed;
top:50px;
text-align:center;
color:white;
font-family:sans-serif;
height:540px;
line-height:500px;" data-skroller="startAt:0;endAt:400;effect:fade;effectBounds:30;">
Welcome to Yare Cottage
</div>
<div class="skrollSpecial" style="width:50%;position:fixed;top:50px;" data-skroller="startAt:300;endAt:600;effect:fade;effectBounds:30;">
<img style="width:100%;position:absolute;" src="../resources/ycDeck.jpeg"/>
</div>
<div class="skrollSpecial" style="width:50%;position:fixed;top:50px;" data-skroller="startAt:500;endAt:1000;effect:fade;effectBounds:30;">
<img style="width:100%;position:absolute;" src="../resources/ycDeckOn.jpeg"/>
</div>
<div class="skrollSpecial" style="width:50%;position:fixed;top:50px;" data-skroller="startAt:900;endAt:1500;effect:fade;effectBounds:30;">
<img style="width:100%;position:absolute;" src="../resources/doge.jpeg"/>
</div>
<button style="position:fixed;top:10px;left:10px;" onclick="skroller.logScroll()">
WriteToLog
</button>
</body>
</html>