Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/slider/examples/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/slider/examples/05-jquery-mobile-ajax.html |
<!DOCTYPE html> <html> <head> <title>PhotoSwipe</title> <meta name="author" content="Ste Brennan - Code Computerlove - http://www.codecomputerlove.com/" /> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <link href="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.css" rel="stylesheet" /> <link href="jquery-mobile.css" type="text/css" rel="stylesheet" /> <link href="../photoswipe.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../lib/klass.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.js"></script> <script type="text/javascript" src="../code.photoswipe.jquery-3.0.5.min.js"></script> <script type="text/javascript"> /* * IMPORTANT!!! * REMEMBER TO ADD rel="external" to your anchor tags. * If you don't this will mess with how jQuery Mobile works */ (function(window, $, PhotoSwipe){ $(document).ready(function(){ $('div.gallery-page') .live('pageshow', function(e){ var currentPage = $(e.target), options = {}, photoSwipeInstance = $("ul.gallery a", e.target).photoSwipe(options, currentPage.attr('id')); return true; }) .live('pagehide', function(e){ var currentPage = $(e.target), photoSwipeInstance = PhotoSwipe.getInstance(currentPage.attr('id')); if (typeof photoSwipeInstance != "undefined" && photoSwipeInstance != null) { PhotoSwipe.detatch(photoSwipeInstance); } return true; }); }); }(window, window.jQuery, window.Code.PhotoSwipe)); </script> </head> <body> <div data-role="page" id="Home"> <div data-role="header"> <h1>PhotoSwipe</h1> </div> <div data-role="content" > <p>These examples show PhotoSwipe integrated with jQuery Mobile:</p> <ul data-role="listview" data-inset="true"> <li><a href="ajax-gallery1.html">First Gallery</a></li> <li><a href="ajax-gallery2.html">Second Gallery</a></li> </ul> <p>PhotoSwipe has also been designed to run stand-alone and can be easily integrated into your non jQuery / jQuery mobile websites:</p> <ul data-role="listview" data-inset="true"> <li><a href="01-default.html" target="_blank">Code Computerlove</a></li> </ul> </div> <div data-role="footer"> <h4>© 2012 Code Computerlove</h4> </div> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4