So, I'm trying to fill the slide show div with images from an external html file, but the problem is that the new images are really extracted using .load (), but the light slider does not see new images and just displays empty, although there are new ones in the div links to images.
In my html, I have this,
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
controlsFade: true,
pause: 3000,
continuous: false,
numeric: true
});
});
</script>
<div id="newslideshows">
<a href="#" id="show1"><img src="image1.jpg" /></a>
<a href="#" id="show2"><img src="image2.jpg" /></a>
</div>
<div id="slider">
<ul>
<li><a href="#"><img src="1.jpg" /></a></li>
<li><a href="#"><img src="2.jpg" /></a></li>
</ul>
</div>
slide is a slide show of a slider
in my src'd js file, I have this
$(document).ready(function(){
$('#show1').click(function(){
$('#slider').load('slideshow1.html');
});
$('#show2').click(function(){
$('#slider').load('slideshow2.html');
});
});
and in my slideshow1.html and slideshow2.html, I have something like this.
<ul>
<li><a href="#"><img src="14.jpg" /></a></li>
<li><a href="#"><img src="15.jpg" /></a></li>
<li><a href="#"><img src="16.jpg" /></a></li>
</ul>
, divs newslideshows, div slideshow1.html slideshow2.html, - . , - , - , - ?
.