This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (64 loc) · 2.38 KB
/
index.html
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<title>Spongebob Squarepants Coloring Book</title>
<meta name="viewport" content="user-scalable=no" />
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/slider.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]-->
<script src="getimages.php"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/jquery.slider.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16890062-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="container">
<div id="wrapper">
<div id="imageSelector"><ul id="slider"></ul></div>
<div id="canvasDiv"></div>
</div>
</div>
<script type="text/javascript">
$(window).load(function()
{
setTimeout(function(){window.scrollTo( 0, 0 );}, 50);
});
$(document).ready(function() {
loadImages();
$(function(){
$('#slider').anythingSlider({
width: 800,
height: 200,
expand: false,
resizeContents: false,
showMultiple: 4,
theme: 'minimalist-round',
themeDirectory: './css/themes/theme-{themeName}.css',
buildNavigation: false,
autoPlay: false,
});
});
$('.image img').click(function(){
if (outlineImage.src.search($(this).attr('src').replace("/thumbs", "").replace(" ", "%20")) == -1){ //if src is different
clearDrawing();
outlineImage.src = $(this).attr('src').replace("/thumbs", "");
}
});
prepareCanvas();
});
</script>
<script>
</script>
</body>
</html>