Advertisement
Guest User

Untitled

a guest
Sep 5th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Kwicks Vertical Example</title>
  5.  
  6. <link rel='stylesheet' type='text/css' href='../jquery.kwicks.css' />
  7. <style type='text/css'>
  8. .kwicks {
  9. width: 300px;
  10. height: 415px;
  11. }
  12. .kwicks > li {
  13. width: 300px;
  14. /* overridden by kwicks but good for when JavaScript is disabled */
  15. height: 100px;
  16. margin-top: 5px;
  17. }
  18.  
  19.  
  20. #panel-3 { background-color: #5A2971;
  21. background-image:url(../../../Documents/2015/web/20150730-_DSC5117purple.png);
  22. background-attachment:fixed;
  23. }
  24. #panel-4 { background-color: #AA9839;
  25. background-image:url(../../../Documents/2015/web/20150723-_DSC5018.jpg);
  26. background-attachment:fixed;
  27. }
  28. #panel-5 { background-color: #28546C;
  29. background-image:url(../../../Documents/2015/web/20150619-_DSC4534.jpg);
  30. background-attachment:fixed;
  31. }
  32. #panel-6 { background-color: #323875;
  33. background-image:url(../../../Documents/2015/web/20150412-_DSC3136-recycled.jpg);
  34. background-attachment:fixed;
  35. }
  36. #panel-7 { background-color: #AA8B39;
  37. background-image:url(../../../Documents/2015/web/20150207-_DSC2325.jpg);
  38. background-attachment:fixed;
  39. background-position:right top;
  40. }
  41. #panel-8 { background-color: #AA7639;
  42. background-image:url(../../../Documents/2015/web/20150510-_DSC3266.jpg);
  43. background-attachment:fixed;
  44. }
  45. #panel-9 { background-color: #236A62;
  46. background-image:url(../../../Documents/2015/web/20150203-_DSC2182.jpg);
  47. background-attachment:fixed;
  48. background-position:right top;
  49. }
  50. #panel-10 { background-color: #3C8D2F;
  51. background-image:url(../../../Documents/2015/web/20150511-_DSC3312.jpg);
  52. background-attachment:fixed;
  53. }
  54.  
  55.  
  56. #cola {
  57. width:300px;
  58. float:left;
  59. display:inline;
  60. }
  61. #colb {
  62. width:300px;
  63. float:left;
  64. display:inline;
  65. }
  66. #colc {
  67. width:300px;
  68. float:left;
  69. display:inline;
  70. }
  71. #cold {
  72. width:300px;
  73. float:left;
  74. display:inline;
  75. }
  76.  
  77. </style>
  78. </head>
  79.  
  80. <body><div id="cola">
  81. <ul class='kwicks kwicks-vertical'>
  82. <li id='panel-3'></li>
  83. <li id='panel-4'></li>
  84. </ul>
  85. </div>
  86. <div id="colb">
  87. <ul class='kwicks kwicks-vertical'>
  88. <li id='panel-5'></li>
  89. <li id='panel-6'></li>
  90. </ul>
  91. </div>
  92. <div id="colc">
  93. <ul class='kwicks kwicks-vertical'>
  94. <li id='panel-7'></li>
  95. <li id='panel-8'></li>
  96. </ul>
  97. </div>
  98. <div id="cold">
  99. <ul class='kwicks kwicks-vertical'>
  100. <li id='panel-9'></li>
  101. <li id='panel-10'></li>
  102. </ul>
  103. </div>
  104.  
  105. <script src='js/jquery-1.8.1.min.js' type='text/javascript'></script>
  106. <script src='../jquery.kwicks.js' type='text/javascript'></script>
  107.  
  108. <script type='text/javascript'>
  109. $(function() {
  110. $('.kwicks').kwicks({
  111. maxSize : 410,
  112. behavior: 'menu',
  113. isVertical: true
  114. });
  115. });
  116. </script>
  117. </body>
  118. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement