Sha256: a65b67222836a27a40ef4275b10da0f363f5bd21ee21a9c0d1f7f7a03f79a115
Contents?: true
Size: 607 Bytes
Versions: 6
Compression:
Stored size: 607 Bytes
Contents
// iphone.js: iPhone friendliness. Free of charge. if (navigator.userAgent.match(/iPhone/i)) { Shining.when('init', function() { Shining.config.help = false; $('head').append('<link rel="stylesheet" type="text/css" href="vendor/css/iphone.css" media="all" class="iphone"/>') $('#stage').click(function(event) { if ($(event.target).is('a')) return false; if (event.pageX < ($(window).width() / 2)) { Shining.previousSlide(); } else { Shining.nextSlide(); } }) Shining.help('Tap on the left or right hand side to navigate', 3000, true); }); }
Version data entries
6 entries across 6 versions & 1 rubygems