khardwick

index.php

Aug 10th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.45 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html lang="en-US">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Zephyranthes</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <meta name="description" content="" />
  8. <meta name="keywords" content="Zephyranthes, fairy lily, rainflower, zephyr lily, magic lily, Atamasco lily, rain lily" />
  9. <!-- STYLE FOR BOOTSTRAP -->
  10. <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
  11.  
  12. <!-- STYLE FOR THE SLIDER -->
  13. <link rel="stylesheet" href="css/slider.css">
  14.  
  15. <!-- INCLUDE THE SLIDER.PHP FILE FOR THE AUTOMATIC SLIDER-->
  16. <?php
  17. require_once("slider.php");
  18. ?>
  19.  
  20. <!-- JQUERY IS REQUIRED -->
  21. <script src="js/jquery-1.8.3.min.js"></script>
  22.  
  23. <!-- JS FOR THE SLIDER -->
  24. <script src="js/swipe.js"></script>
  25. <script src="js/rotate-patch.js"></script>
  26. <script src="js/slider.min.js"></script>
  27.  
  28. <!-- INITIALIZATION OF THE SLIDER -->
  29. <script type="text/javascript">
  30.  
  31. jQuery(window).load(function(){
  32.  
  33. jQuery('#slider1').autoSlider({
  34. theme : 'default', //The theme of the slider (default, theme1, theme2, theme3)
  35. width : '0%', //The width of the slider, if it set to 0 it will take the width of the largest image
  36. autoPlay : true, //auto play the images of the slider when is loaded
  37. showTimer : true, //show the timer line
  38. playInterval : 4000, //Time between transitions when auto play is on
  39. playBtn : true, //show play button
  40. loop : true, //when play is on if is set to true start slideshow again when it finishes
  41. navArrows : true, //show prev and next arrows
  42. navBar : true, //show the navigation bar
  43. navBarNumeric : false, //If the navigation bar will show the numbers of images
  44. autoHideNavArrows : false, //if it set to true then show the prev and next arrow only when you do a mouseover
  45. autoHidePlayBtn : false, //if it set to true then show the play button only when you do a mouseover
  46. autoHideNavBar : false, //if it set to true then show the navigation bar only when you do a mouseover
  47. keyboardNav : true, //navigation with arrows right and left of the keyboard
  48. transitionSpeed : 700, //The speed between transitions
  49. boxSpeed : 450, //The animation speed of a single box (must be lower than transitionSpeed)
  50. captionSpeed : 300, //The animation speed of the caption
  51. captions : false, //Show captions of the images that have text to show
  52. autoHideCaptions : false, //if it set to true then show the captions only when you do a mouseover
  53. thumbnails : true, //Show thumbnails when hovering nav
  54. thumbnailSize : 20, //Thumbnail size (percentage of the original image)
  55. x : 8, //when using boxes the x axis
  56. y : 4, //when using boxes the y axis
  57. hideIconsInWidth : 500, //Hide the icons(arrows, plat btn, navbar) when the width is 500px or less for responsive design
  58. hideTimerInWidth : 500, //Hide the timer when the width is 500px or less for responsive design
  59. shadow : true, //A CSS3 shadow of the slider
  60. beforeTransition : function(){}, //execute a function before right before the transition begins
  61. afterTransition : function(){}, //execute a function after the transition completes
  62. onSlideshowEnd : function() {}, // Runs when the slideshow finishes ( "loop" must be set to false )
  63. onPlay : function() {}, // Runs when somebody click the button play
  64. onPause : function() {} // Runs when somebody click the button pause
  65.  
  66. })
  67.  
  68. </script>
  69.  
  70. </head>
  71.  
  72. <body>
  73. <p>
  74. <?php
  75. make_slider("slider1", images);
  76. ?>
  77. </p>
  78. <p>Sed etiam vestibulum velit, euismod lacinia quam nisl id lorem. Quisque erat. Vestibulum pellentesque, justo mollis pretium suscipit, justo nulla blandit libero, in blandit augue justo quis nisl. Fusce mattis viverra elit. Fusce quis tortor. Consectetuer adipiscing elit. Nam pede erat, porta eu, lobortis eget lorem ipsum dolor. Sed etiam vestibulum velit, euismod lacinia quam nisl id lorem. Quisque erat. Vestibulum pellentesque, justo mollis pretium suscipit, justo nulla blandit libero, in blandit augue justo quis nisl. Fusce mattis viverra elit. Fusce quis tortor. Consectetuer adipiscing elit. Nam pede erat, porta eu, lobortis eget lorem ipsum dolor.</p>
  79. <p>Maecenas pede nisl, elementum eu, ornare ac, malesuada at, erat. Proin gravida orci porttitor enim accumsan lacinia. Donec condimentum, urna non molestie semper, ligula enim ornare nibh, quis laoreet eros quam eget ante. Aliquam libero. Vivamus nisl nibh, iaculis vitae, viverra sit amet, ullamcorper vitae, turpis. Aliquam erat volutpat. Vestibulum dui sem, pulvinar sed, imperdiet nec, iaculis nec, leo. Fusce odio. Etiam arcu dui, faucibus eget, placerat vel, sodales eget, orci. Donec ornare neque ac sem. Mauris aliquet. Aliquam sem leo, vulputate sed, convallis at, ultricies quis, justo. Donec nonummy magna quis risus. Quisque eleifend. Phasellus tempor vehicula justo. Aliquam lacinia metus ut elit.</p>
  80. <p>Donec nonummy magna quis risus. Quisque eleifend. Maecenas pede nisl, elementum eu, ornare ac, malesuada at, erat. Proin gravida orci porttitor enim accumsan lacinia. Donec condimentum, urna non molestie semper, ligula enim ornare nibh, quis laoreet eros quam eget ante. Aliquam libero. Vivamus nisl nibh, iaculis vitae, viverra sit amet, ullamcorper vitae, turpis. Aliquam erat volutpat. Vestibulum dui sem, pulvinar sed, imperdiet nec, iaculis nec, leo. Fusce odio. Etiam arcu dui, faucibus eget, placerat vel, sodales eget, orci. Donec ornare neque ac sem. Mauris aliquet. Aliquam sem leo, vulputate sed, convallis at, ultricies quis, justo. Phasellus tempor vehicula justo. Aliquam lacinia metus ut elit.</p>
  81. </body>
  82. </html>
Advertisement
Add Comment
Please, Sign In to add comment