Advertisement
Guest User

Untitled

a guest
May 16th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 10.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html lang="en">
  4.  
  5.     <head>
  6.    
  7.         <meta charset="utf-8" />
  8.         <title>CJ Shuffle: A jQuery Ad Rotator</title>
  9.        
  10.         <style type="text/css">
  11.        
  12.             body {
  13.                
  14.                 background-color: #F5F5F5;
  15.                 margin: 0;
  16.                
  17.             }
  18.            
  19.         </style>
  20.        
  21.         <!-- ******************************************************** -->
  22.         <!-- BEGIN CODE TO COPY INTO THE HEAD SECTION OF YOUR WEBPAGE -->
  23.         <!-- ******************************************************** -->
  24.        
  25.         <link rel="stylesheet" href="css/cj-shuffle.css" type="text/css" />
  26.        
  27.         <script type="text/javascript" src="js/modernizr-2.5.3.js"></script>
  28.         <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js" ></script>
  29.         <script type="text/javascript" src="js/jquery.clip-animation.min.js" ></script>
  30.         <script type="text/javascript" src="js/cj-shuffle-swipe.js"></script>
  31.         <script type="text/javascript" src="js/cj-shuffle.js" ></script>
  32.        
  33.         <script type="text/javascript">
  34.            
  35.             /* ************************ */
  36.             /* BEGIN DEVELOPER SETTINGS */
  37.             /* ************************ */
  38.             jQuery(document).ready(function() {
  39.                
  40.                 jQuery("#shuffle-gallery-1").cjShuffle({
  41.                
  42.                     /* The original image width */
  43.                     imageWidth: 296,
  44.                    
  45.                     /* The original image height */
  46.                     imageHeight: 246,
  47.                    
  48.                     /* The margin between each image in pixels */
  49.                     imageMargin: 10,
  50.                    
  51.                     /* The amound of pixels to scale down by for each item */
  52.                     scaleDownBy: 30,
  53.                    
  54.                     /* Choose to set the Slideshow to auto-play, true/false */
  55.                     autoPlay: false,
  56.                    
  57.                     /* The autoPlay delay in milliseconds */
  58.                     autoPlayDelay: 4000,
  59.                    
  60.                     /* Choose to randomize the slide order everytime someone visits your web page, true/false */
  61.                     randomizeItems: false,
  62.                    
  63.                     /* The link target when a slide is linked, options are "_parent" and "_blank" */
  64.                     linkTarget: "_blank"
  65.                    
  66.                 });
  67.                
  68.                 jQuery("#shuffle-gallery-2").cjShuffle({
  69.                
  70.                     /* The original image width */
  71.                     imageWidth: 296,
  72.                    
  73.                     /* The original image height */
  74.                     imageHeight: 246,
  75.                    
  76.                     /* The margin between each image in pixels */
  77.                     imageMargin: 10,
  78.                    
  79.                     /* The amound of pixels to scale down by for each item */
  80.                     scaleDownBy: 30,
  81.                    
  82.                     /* Choose to set the Slideshow to auto-play, true/false */
  83.                     autoPlay: false,
  84.                    
  85.                     /* The autoPlay delay in milliseconds */
  86.                     autoPlayDelay: 4000,
  87.                    
  88.                     /* Choose to randomize the slide order everytime someone visits your web page, true/false */
  89.                     randomizeItems: false,
  90.                    
  91.                     /* The link target when a slide is linked, options are "_parent" and "_blank" */
  92.                     linkTarget: "_blank"
  93.                    
  94.                 });
  95.    
  96.             });
  97.        
  98.         </script>
  99.        
  100.         <!-- ****************************************************** -->
  101.         <!-- END CODE TO COPY INTO THE HEAD SECTION OF YOUR WEBPAGE -->
  102.         <!-- ****************************************************** -->
  103.        
  104.     </head>
  105.    
  106.     <body>
  107.            
  108.         <!-- ******************************************************** -->
  109.         <!-- BEGIN CODE TO COPY INTO THE BODY SECTION OF YOUR WEBPAGE -->
  110.         <!-- ******************************************************** -->
  111.        
  112.         <div class="shuffle-gallery" id="shuffle-gallery-1">
  113.            
  114.             <div class="shuffle-gallery-preloader">
  115.            
  116.                 <img src="img/shuffle/assets/preloader.gif" width="55" height="18" alt="preloader" />
  117.                
  118.             </div>
  119.            
  120.             <ul>
  121.                
  122.                 <!-- ***************** -->
  123.                 <!-- BEGIN BANNER ITEM -->
  124.                 <!-- ***************** -->
  125.                
  126.                 <li title="img/shuffle/banners/1.png">
  127.                
  128.                     <!-- "class" options are "align-left" and "align-right", thsese are the text-align options -->
  129.                     <!-- "title" attribute is optional.  If added it will link the entire slide to the url entered -->
  130.                    
  131.                     <ul class="align-left" title="http://codecanyon.net/user/CodingJack"></ul>
  132.                    
  133.                 </li>
  134.                
  135.                 <!-- *************** -->
  136.                 <!-- END BANNER ITEM -->
  137.                 <!-- *************** -->
  138.                
  139.                 <li title="img/shuffle/banners/2.png">
  140.                
  141.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  142.                
  143.                 </li>
  144.                
  145.                  <li title="img/shuffle/banners/3.png">
  146.                
  147.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  148.                
  149.                 </li>
  150.                
  151.                  <li title="img/shuffle/banners/4.png">
  152.                
  153.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  154.                
  155.                 </li>
  156.                
  157.                  <li title="img/shuffle/banners/5.png">
  158.                
  159.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  160.                
  161.                 </li>
  162.                
  163.                  <li title="img/shuffle/banners/6.png">
  164.                
  165.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  166.                
  167.                 </li>
  168.                
  169.                 <li title="img/shuffle/banners/7.png">
  170.                
  171.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  172.                
  173.                 </li>
  174.                
  175.                 <li title="img/shuffle/banners/8.png">
  176.                
  177.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  178.                
  179.                 </li>
  180.                
  181.             </ul>
  182.            
  183.             <!-- The next button -->
  184.             <div class="shuffle-gallery-button">
  185.            
  186.                 <img src="img/shuffle/assets/button.png" width="85" height="33" alt="next button" />
  187.                
  188.             </div>
  189.            
  190.             <!-- If JavaScript is disabled, we'll just display the first image -->
  191.             <noscript>
  192.                
  193.                 <a href="http://codecanyon.net/user/CodingJack" target="_blank"><img src="img/shuffle/banners/1.png" width="300" height="250" alt="jQuery Banner Rotator" /></a>
  194.            
  195.             </noscript>
  196.        
  197.         </div>
  198.        
  199.         <div class="shuffle-gallery" id="shuffle-gallery-2">
  200.            
  201.             <div class="shuffle-gallery-preloader">
  202.            
  203.                 <img src="img/shuffle/assets/preloader.gif" width="55" height="18" alt="preloader" />
  204.                
  205.             </div>
  206.            
  207.             <ul>
  208.                
  209.                 <!-- ***************** -->
  210.                 <!-- BEGIN BANNER ITEM -->
  211.                 <!-- ***************** -->
  212.                
  213.                 <li title="img/shuffle/banners/1.png">
  214.                
  215.                     <!-- "class" options are "align-left" and "align-right", thsese are the text-align options -->
  216.                     <!-- "title" attribute is optional.  If added it will link the entire slide to the url entered -->
  217.                    
  218.                     <ul class="align-left" title="http://codecanyon.net/user/CodingJack"></ul>
  219.                    
  220.                 </li>
  221.                
  222.                 <!-- *************** -->
  223.                 <!-- END BANNER ITEM -->
  224.                 <!-- *************** -->
  225.                
  226.                 <li title="img/shuffle/banners/2.png">
  227.                
  228.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  229.                
  230.                 </li>
  231.                
  232.                  <li title="img/shuffle/banners/3.png">
  233.                
  234.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  235.                
  236.                 </li>
  237.                
  238.                  <li title="img/shuffle/banners/4.png">
  239.                
  240.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  241.                
  242.                 </li>
  243.                
  244.                  <li title="img/shuffle/banners/5.png">
  245.                
  246.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  247.                
  248.                 </li>
  249.                
  250.                  <li title="img/shuffle/banners/6.png">
  251.                
  252.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  253.                
  254.                 </li>
  255.                
  256.                 <li title="img/shuffle/banners/7.png">
  257.                
  258.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  259.                
  260.                 </li>
  261.                
  262.                 <li title="img/shuffle/banners/8.png">
  263.                
  264.                     <ul class="align-right" title="http://codecanyon.net/user/CodingJack"></ul>
  265.                
  266.                 </li>
  267.                
  268.             </ul>
  269.            
  270.             <!-- The next button -->
  271.             <div class="shuffle-gallery-button">
  272.            
  273.                 <img src="img/shuffle/assets/button.png" width="85" height="33" alt="next button" />
  274.                
  275.             </div>
  276.            
  277.             <!-- If JavaScript is disabled, we'll just display the first image -->
  278.             <noscript>
  279.                
  280.                 <a href="http://codecanyon.net/user/CodingJack" target="_blank"><img src="img/shuffle/banners/1.png" width="300" height="250" alt="jQuery Banner Rotator" /></a>
  281.            
  282.             </noscript>
  283.        
  284.         </div>
  285.        
  286.         <!-- ****************************************************** -->
  287.         <!-- END CODE TO COPY INTO THE BODY SECTION OF YOUR WEBPAGE -->
  288.         <!-- ****************************************************** -->
  289.  
  290.     </body>
  291.    
  292. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement