Wstawiłem na stronę slider zdjęć linie: 67-98 zmodyfikowałem go zgodnie z http://forum.php.pl/index.php?showtopic=164752, jednak lightbox nadal nie działa linia: 164

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <link rel="stylesheet" type="text/css" href="css/default_body.css" />
  5. <link rel="stylesheet" type="text/css" href="css/default_content.css" />
  6. <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
  7.  
  8. <!--jQuery library-->
  9. <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
  10. <!--jCarousel library-->
  11. <script type="text/javascript" src="js/jquery.jcarousel.min.js"></script>
  12. <!--jCarousel skin stylesheet-->
  13. <link rel="stylesheet" type="text/css" href="css/skin.css" />
  14.  
  15.  
  16. <style type="text/css">
  17.  
  18. /**
  19. * Additional styles for the controls.
  20. */
  21. .jcarousel-control {
  22. margin-bottom: 10px;
  23. text-align: center;
  24. }
  25.  
  26. .jcarousel-control a {
  27. font-size: 75%;
  28. text-decoration: none;
  29. padding: 0 5px;
  30. margin: 0 0 5px 0;
  31. border: 1px solid #fff;
  32. color: #eee;
  33. background-color: #4088b8;
  34. font-weight: bold;
  35. }
  36.  
  37. .jcarousel-control a:focus,
  38. .jcarousel-control a:active {
  39. outline: none;
  40. }
  41.  
  42. .jcarousel-scroll {
  43. margin-top: 10px;
  44. text-align: center;
  45. }
  46.  
  47. .jcarousel-scroll form {
  48. margin: 0;
  49. padding: 0;
  50. }
  51.  
  52. .jcarousel-scroll select {
  53. font-size: 75%;
  54. }
  55.  
  56. #mycarousel-next,
  57. #mycarousel-prev {
  58. cursor: pointer;
  59. margin-bottom: -10px;
  60. text-decoration: underline;
  61. font-size: 11px;
  62. }
  63.  
  64.  
  65. <script type="text/javascript">
  66. /**
  67. * We use the initCallback callback
  68. * to assign functionality to the controls
  69. */
  70. // Ride the carousel...
  71. var j = jQuery.noConflict();
  72.  
  73. j(document).ready(function() {
  74. j("#mycarousel").jcarousel({
  75. scroll: 1,
  76. initCallback: mycarousel_initCallback,
  77. // This tells jCarousel NOT to autobuild prev/next buttons
  78. buttonNextHTML: null,
  79. buttonPrevHTML: null
  80.  
  81.  
  82. });
  83.  
  84. function mycarousel_initCallback(carousel) {
  85. j('#mycarousel-next').hover(function() {
  86. carousel.next();
  87. return false;
  88. });
  89.  
  90. j('#mycarousel-prev').hover(function() {
  91. carousel.prev();
  92. return false;
  93. });
  94. };
  95.  
  96. });
  97.  
  98. </script>
  99. <title>EcoProduct</title>
  100. </head>
  101. <body>
  102. <div id="main_wrapper">
  103. <!--BANNER-->
  104. <div id="banner">
  105.  
  106. </div>
  107.  
  108. <!--NAWIGACJA-->
  109. <div id="navigation">
  110.  
  111. </div>
  112.  
  113. <!--TREŚĆ STRONY-->
  114. <div id="content_top">
  115. <!--TREŚĆ STRONY LEWA-->
  116. <div id="content_top_left">
  117. <span class="left_content">
  118. <img src="gallery/ecoproduct.png" class="img_content">
  119. <p class="head_content">
  120. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  121. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
  122. when an unknown printer took a galley of type and scrambled it to make a type
  123. specimen book. It has survived not only five centuries, but also the leap into
  124. electronic typesetting, remaining essentially unchanged. It was popularised in
  125. the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
  126. and more recently with desktop publishing software like Aldus PageMaker
  127. including versions of Lorem Ipsum
  128. </p>
  129.  
  130. <p class="read_more">
  131. <a href="#" class="read_more_head_content">Czytaj więcej...</a>
  132. </p>
  133. </span>
  134.  
  135. <span class="left_content">
  136. <img src="gallery/ecoproduct.png" class="img_content">
  137. <p class="head_content">
  138. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  139. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
  140. when an unknown printer took a galley of type and scrambled it to make a type
  141. specimen book. It has survived not only five centuries, but also the leap into
  142. electronic typesetting, remaining essentially unchanged. It was popularised in
  143. the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
  144. and more recently with desktop publishing software like Aldus PageMaker
  145. including versions of Lorem Ipsum
  146. </p>
  147.  
  148. <p class="read_more">
  149. <a href="#" class="read_more_head_content">Czytaj więcej...</a>
  150. </p>
  151. </span>
  152. </div>
  153.  
  154. <!--TREŚĆ STRONY PRAWA-->
  155. <div id="content_top_right">
  156. <span class="right_content">
  157. <p class="header">
  158. Ostatnio dodane produkty
  159. </p>
  160.  
  161. <div align="center">
  162. <a href="gallery/opak_max.png" rel="lightbox[roadtrip]">
  163. <img src="gallery/opak_min.png">
  164. </a>
  165. </div>
  166. </span>
  167.  
  168. <span class="right_content">
  169. <p class="header">
  170. Chmura tagów
  171. </p>
  172. </span>
  173. </div>
  174.  
  175. <!--STRONNICOWANIE-->
  176. <div id="pages">
  177. <div class="page_link_background">
  178. <a href="" class="page_link">1</a>
  179. </div>
  180. <div class="page_space"></div>
  181. <div class="page_link_background">
  182. <a href="" class="page_link">2</a>
  183. </div>
  184. <div class="page_space"></div>
  185. <div class="page_link_background">
  186. <a href="" class="page_link">3</a>
  187. </div>
  188. <div class="page_space"></div>
  189. <div class="page_link_background">
  190. <a href="" class="page_link">4</a>
  191. </div>
  192. <div class="page_space"></div>
  193. </div>
  194. </div>
  195.  
  196. <!--SLIDER GALERII-->
  197. <div id="slider">
  198. <!--LEWA STRZAŁKA-->
  199. <div id="slider_left_arrow">
  200. <form action="">
  201. <a href="#" id="mycarousel-prev">
  202. <img src="images/arrow_left.png">
  203. </a>
  204. </div>
  205.  
  206. <!--SLIDER-->
  207. <div id="mycarousel" class="jcarousel-skin-tango">
  208. <ul>
  209. <li><img width="75" height="75" src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" alt="" /></li>
  210. <li><img width="75" height="75" src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" alt="" /></li>
  211. <li><img width="75" height="75" src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" alt="" /></li>
  212. <li><img width="75" height="75" src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" alt="" /></li>
  213. <li><img width="75" height="75" src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" alt="" /></li>
  214.  
  215. <li><img width="75" height="75" src="http://static.flickr.com/72/199481203_ad4cdcf109_s.jpg" alt="" /></li>
  216. <li><img width="75" height="75" src="http://static.flickr.com/58/199481218_264ce20da0_s.jpg" alt="" /></li>
  217. <li><img width="75" height="75" src="http://static.flickr.com/69/199481255_fdfe885f87_s.jpg" alt="" /></li>
  218. <li><img width="75" height="75" src="http://static.flickr.com/60/199480111_87d4cb3e38_s.jpg" alt="" /></li>
  219. <li><img width="75" height="75" src="http://static.flickr.com/70/229228324_08223b70fa_s.jpg" alt="" /></li>
  220.  
  221. <li><img width="75" height="75" src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" alt="" /></li>
  222. <li><img width="75" height="75" src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" alt="" /></li>
  223. <li><img width="75" height="75" src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" alt="" /></li>
  224. <li><img width="75" height="75" src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" alt="" /></li>
  225. <li><img width="75" height="75" src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" alt="" /></li>
  226. </ul>
  227. </div>
  228.  
  229. <!--PRAWA STRZAŁKA-->
  230. <div id="slider_right_arrow">
  231. <form action="">
  232. <a href="#" id="mycarousel-next">
  233. <img src="images/arrow_right.png">
  234. </a>
  235. </div>
  236. </form>
  237. </div>
  238.  
  239. <!--INFORMACJE DODATKOWE-->
  240. <div id="content_bottom">
  241.  
  242. </div>
  243.  
  244. <!--STOPKA-->
  245. <div id="footer">
  246.  
  247. </div>
  248. </div>
  249. </body>
  250. </html>
  251.