Permalink
Browse files

Added example to copy

  • Loading branch information...
1 parent eb42524 commit 7758808a644d58e1641e9890e28157e98e25213f Ian Tearle committed Nov 15, 2011
Showing with 37 additions and 0 deletions.
  1. +37 −0 index.html
View
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
+<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
+<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
+<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
+<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <!--[if IE]><![endif]-->
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <title>iSkip Demo</title>
+ <meta name="author" content="Ian Tearle">
+</head>
+<!-- !Body -->
+<body>
+ <div id="container">
+ <div>
+ <img src="http://farm5.static.flickr.com/4077/4865146589_36a968ee82.jpg" alt="Key Image" id="mousemove" />
+ </div>
+ </div><!--!/#container -->
+ <!-- !Javascript - at the bottom for fast page loading -->
+ <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
+ <script src="jquery.iskip.js"></script>
+ <script type="text/javascript">
+ var array = [
+ 'http://farm7.static.flickr.com/6152/6175782097_97c514039c.jpg',
+ 'http://farm7.static.flickr.com/6179/6176310944_b8964a3052.jpg',
+ 'http://farm7.static.flickr.com/6174/6176310374_6fbd5c2c3b.jpg',
+ 'http://farm5.static.flickr.com/4073/4865148539_b0d7f5c4a2.jpg',
+ 'http://farm5.static.flickr.com/4136/4865765578_190325379b.jpg',
+ 'http://farm5.static.flickr.com/4100/4865764900_1e9455ea90.jpg'
+ ];
+ $("#mousemove").iskip({images:array, method:'mousemove', 'cycle':3});
+ </script>
+</body>
+</html>

0 comments on commit 7758808

Please sign in to comment.