Advertisement
tjromano

jquery

Sep 20th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // JavaScript Document
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <title>PWI Demo 8 - Picassa Webalbum Integrator (PWI)</title>
  6.  
  7.     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  8.  
  9.     <!-- These files are needed for FancyBox -->
  10.     <link   href="js/jquery.fancybox/jquery.fancybox.css" rel="stylesheet" type="text/css"/>
  11.     <script src="js/jquery.fancybox/jquery.fancybox.pack.js" type="text/javascript"></script>
  12.    
  13. <!-- These files are needed to display the FancyBox buttons at the top, including slideshow control --> <link href="js/jquery.fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.5" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="js/jquery.fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.5"></script>
  14.  
  15.     <!-- These files are the PWI files -->
  16.     <link   href="css/pwi.css" rel="stylesheet" type="text/css"/>
  17.     <script src="js/jquery.pwi-min.js" type="text/javascript"></script>
  18.  
  19.     <!-- Needed for the Google Maps overview map -->
  20.     <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
  21.  
  22.     <script type="text/javascript">
  23.  
  24.       $(document).ready(function () {
  25.         var settings2007 = {
  26.           username: '<<USERNAME>>',
  27.           albumStartDateTime: "2007-01-01",
  28.           albumEndDateTime: "2007-12-31"
  29.         }
  30.         var settings2008 = {
  31.           username: '<<USERNAME>>',
  32.           albumStartDateTime: "2008-01-01",
  33.           albumEndDateTime: "2008-12-31"
  34.         }
  35.         var settings2009 = {
  36.           username: '<<USERNAME>>',
  37.           albumStartDateTime: "2009-01-01",
  38.           albumEndDateTime: "2009-12-31"
  39.         }
  40.                
  41.         $("#container2007").pwi(settings2007);
  42.         $("#container2008").pwi(settings2008);
  43.         $("#container2009").pwi(settings2009);
  44.       });
  45.  
  46.     </script>
  47.   </head>
  48.   <body>
  49.  
  50.     <h4>2007</h4>
  51.     <div id="container2007"> </div>
  52.     <h4>2008</h4>
  53.     <div id="container2008"> </div>
  54.     <h4>2009</h4>
  55.     <div id="container2009"> </div>
  56.  
  57.   </body>
  58. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement