- <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="/js/mobileinit.js"></script>
- <script src="/js/ios-orientationchange-fix.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
- <script src="/js/application.js"></script>
+ <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
+ <script src="js/mobileinit.js"></script>
+ <script src="js/ios-orientationchange-fix.min.js"></script>
+ <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
+ <script src="js/application.js"></script>
+ <!-- Add a Bookmark Bubble for iDevices, and adds a cookie if already shown -->
+ <script type="text/javascript" src="js/bookmark_bubble.js"></script>
+ <script type="text/javascript" src="js/example.js"></script>
+ <script src="js/jquery.cookie.js"></script>
+ <!-- Startup Images for iDevices -->
+ <script>(function(){var a;if(navigator.platform==="iPad"){a=window.orientation!==90||window.orientation===-90?"images/startup-tablet-landscape.png":"images/startup-tablet-portrait.png"}else{a=window.devicePixelRatio===2?"images/startup-retina.png":"images/startup.png"}document.write('<link rel="apple-touch-startup-image" href="'+a+'"/>')})()</script>
+ <!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 -->
+ <script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script>