expand.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>AnythingSlider Expanding Demo</title>
  6. <link rel="shortcut icon" href="demos/images/favicon.ico">
  7. <link rel="apple-touch-icon" href="demos/images/apple-touch-icon.png">
  8. <!-- jQuery (required) -->
  9. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
  10. <script>window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')</script>
  11. <!-- Demo stuff -->
  12. <link rel="stylesheet" href="demos/css/page.css">
  13. <!-- Anything Slider -->
  14. <link rel="stylesheet" href="css/anythingslider.css">
  15. <script src="js/jquery.anythingslider.js"></script>
  16. <script>
  17. $(function () {
  18. $('#slider1').anythingSlider({
  19. // theme : 'metallic',
  20. expand : true,
  21. autoPlay : true
  22. });
  23. $('#slider2').anythingSlider({
  24. expand : true,
  25. showMultiple : 2,
  26. changeBy : 2
  27. });
  28. });
  29. </script>
  30. <!-- Older IE stylesheet, to reposition navigation arrows, added AFTER the theme stylesheet -->
  31. <!--[if lte IE 7]>
  32. <link rel="stylesheet" href="css/anythingslider-ie.css" type="text/css" media="screen" />
  33. <![endif]-->
  34. </head>
  35. <body id="expand">
  36. <!-- Links to other demo pages & docs -->
  37. <div id="nav">
  38. <a href="index.html">Main Demo</a>
  39. <a href="simple.html">Simple Demo</a>
  40. <a class="current" href="expand.html">Expand Demo</a>
  41. <a href="video.html">Video Demo</a>
  42. <a href="demos.html">FX Demos</a>
  43. <a class="play" href="http://jsfiddle.net/Mottie/VM8XG/">Playground</a>
  44. <a class="git" href="https://github.com/ProLoser/AnythingSlider/wiki">Documentation</a>
  45. <a class="git" href="http://github.com/ProLoser/AnythingSlider/downloads">Download</a>
  46. <a class="issue" href="https://github.com/ProLoser/AnythingSlider/issues">Issues</a>
  47. </div>
  48. <!-- End Links -->
  49. <h1>Expanding Slider Demo*</h1>
  50. <h3>* Resize the browser window</h3>
  51. <br>
  52. <h2>Full page width</h2>
  53. <!-- Expanding AnythingSlider 100% width -->
  54. <div id="wrapper1">
  55. <ul id="slider1">
  56. <li><img src="demos/images/slide-civil-1.jpg" alt=""></li>
  57. <li><img src="demos/images/slide-env-1.jpg" alt=""></li>
  58. <li><img src="demos/images/slide-civil-2.jpg" alt=""></li>
  59. <li><img src="demos/images/slide-env-2.jpg" alt=""></li>
  60. </ul>
  61. </div>
  62. <!-- END AnythingSlider -->
  63. <br><br><br><br>
  64. <h2>Half page width with two images showing</h2>
  65. <!-- Expanding AnythingSlider 50% width -->
  66. <div id="wrapper2">
  67. <ul id="slider2">
  68. <li><img src="demos/images/slide-tele-1.jpg" alt=""></li>
  69. <li><img src="demos/images/slide-tele-2.jpg" alt=""></li>
  70. <li><img src="demos/images/slide-env-1.jpg" alt=""></li>
  71. <li><img src="demos/images/slide-env-2.jpg" alt=""></li>
  72. <li><img src="demos/images/slide-civil-1.jpg" alt=""></li>
  73. <li><img src="demos/images/slide-civil-2.jpg" alt=""></li>
  74. </ul>
  75. </div>
  76. <!-- END AnythingSlider -->
  77. </body>
  78. </html>