Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  2.  
  3. <!-- Indicators -->
  4.  
  5. <ol class="carousel-indicators">
  6.  
  7. <li data-target="#carousel-example-generic" data-slide-to="0"class="active"></li>
  8. <li data-target="#carousel-example-generic" data-slide-to="1"></li>
  9. <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  10.  
  11. </ol>
  12.  
  13. <!-- Wrapper for slides -->
  14.  
  15. <div class="carousel-inner" role="listbox">
  16.  
  17. <div class="item active">
  18.  
  19. <center>
  20.  
  21. <iframe width="610" height="515" src="//www.youtube.com/embed/Xj2bmQ4P4cM" frameborder="0" allowfullscreen></iframe>
  22.  
  23. </center>
  24.  
  25. <div class="carousel-caption">
  26. Sgt. Pepper
  27. </div>
  28.  
  29. </div>
  30.  
  31. <div class="item">
  32.  
  33. <center>
  34.  
  35. <iframe width="610" height="515" src="//www.youtube.com/embed/rvawJ-_sCUg"frameborder="0" allowfullscreen></iframe>
  36.  
  37. </center>
  38.  
  39. <div class="carousel-caption">
  40. Dark Side of the Moon
  41. </div>
  42.  
  43. </div>
  44.  
  45. <div class="item">
  46.  
  47. <center>
  48.  
  49. <iframe width="610" height="515" src="//www.youtube.com/embed/moSFlvxnbgk"frameborder="0" allowfullscreen></iframe>
  50.  
  51. </center>
  52.  
  53. <div class="carousel-caption">
  54. Frozen
  55. </div>
  56.  
  57. </div>
  58.  
  59. </div>
  60.  
  61. <!-- Controls -->
  62.  
  63. <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
  64.  
  65. <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
  66. <span class="sr-only">Previous</span>
  67.  
  68. </a>
  69.  
  70. <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
  71.  
  72. <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
  73. <span class="sr-only">Next</span>
  74.  
  75. </a>
  76.  
  77. </div>
  78.  
  79. <script>
  80. $('.carousel').carousel({
  81. interval: 2000
  82. })
  83. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement