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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="css/default_body.css" /> <link rel="stylesheet" type="text/css" href="css/default_content.css" /> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<!--jQuery library-->
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <!--jCarousel library-->
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script> <!--jCarousel skin stylesheet-->
<link rel="stylesheet" type="text/css" href="css/skin.css" />
/**
* Additional styles for the controls.
*/
.jcarousel-control {
margin-bottom: 10px;
text-align: center;
}
.jcarousel-control a {
font-size: 75%;
text-decoration: none;
padding: 0 5px;
margin: 0 0 5px 0;
border: 1px solid #fff;
color: #eee;
background-color: #4088b8;
font-weight: bold;
}
.jcarousel-control a:focus,
.jcarousel-control a:active {
outline: none;
}
.jcarousel-scroll {
margin-top: 10px;
text-align: center;
}
.jcarousel-scroll form {
margin: 0;
padding: 0;
}
.jcarousel-scroll select {
font-size: 75%;
}
#mycarousel-next,
#mycarousel-prev {
cursor: pointer;
margin-bottom: -10px;
text-decoration: underline;
font-size: 11px;
}
<script type="text/javascript"> /**
* We use the initCallback callback
* to assign functionality to the controls
*/
// Ride the carousel...
var j = jQuery.noConflict();
j(document).ready(function() {
j("#mycarousel").jcarousel({
scroll: 1,
initCallback: mycarousel_initCallback,
// This tells jCarousel NOT to autobuild prev/next buttons
buttonNextHTML: null,
buttonPrevHTML: null
});
function mycarousel_initCallback(carousel) {
j('#mycarousel-next').hover(function() {
carousel.next();
return false;
});
j('#mycarousel-prev').hover(function() {
carousel.prev();
return false;
});
};
});
<!--BANNER-->
<!--NAWIGACJA-->
<!--TREŚĆ STRONY-->
<!--TREŚĆ STRONY LEWA-->
<div id="content_top_left"> <span class="left_content"> <img src="gallery/ecoproduct.png" class="img_content"> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in
the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like Aldus PageMaker
including versions of Lorem Ipsum
<a href="#" class="read_more_head_content">Czytaj więcej...
</a>
<span class="left_content"> <img src="gallery/ecoproduct.png" class="img_content"> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in
the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like Aldus PageMaker
including versions of Lorem Ipsum
<a href="#" class="read_more_head_content">Czytaj więcej...
</a>
<!--TREŚĆ STRONY PRAWA-->
<div id="content_top_right"> <span class="right_content"> Ostatnio dodane produkty
<a href="gallery/opak_max.png" rel="lightbox[roadtrip]"> <img src="gallery/opak_min.png">
<span class="right_content"> Chmura tagów
<!--STRONNICOWANIE-->
<div class="page_link_background"> <a href="" class="page_link">1
</a> <div class="page_space"></div> <div class="page_link_background"> <a href="" class="page_link">2
</a> <div class="page_space"></div> <div class="page_link_background"> <a href="" class="page_link">3
</a> <div class="page_space"></div> <div class="page_link_background"> <a href="" class="page_link">4
</a> <div class="page_space"></div>
<!--SLIDER GALERII-->
<!--LEWA STRZAŁKA-->
<div id="slider_left_arrow"> <a href="#" id="mycarousel-prev"> <img src="images/arrow_left.png">
<!--SLIDER-->
<div id="mycarousel" class="jcarousel-skin-tango"> <li><img width="75" height="75" src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" alt="" /></li>
<li><img width="75" height="75" src="http://static.flickr.com/72/199481203_ad4cdcf109_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/58/199481218_264ce20da0_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/69/199481255_fdfe885f87_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/60/199480111_87d4cb3e38_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/70/229228324_08223b70fa_s.jpg" alt="" /></li>
<li><img width="75" height="75" src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" alt="" /></li> <li><img width="75" height="75" src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" alt="" /></li>
<!--PRAWA STRZAŁKA-->
<div id="slider_right_arrow"> <a href="#" id="mycarousel-next"> <img src="images/arrow_right.png">
<!--INFORMACJE DODATKOWE-->
<div id="content_bottom">
<!--STOPKA-->