Hi all,
Got a little problem which is prob very easy to fix but since I'm new to jQuery I can't figure it out.
I basically want a image slideshow connected to a next and prev button, like this (middle one):
My code pretty much looks like this in the html file:
<script type="text/javascript" src="src/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade',
});
});
</script>
<a id="prev2" href="#">Prev</a>
<a id="next2" href="#">Next</a>
<div class="slideshow">
<img src="images/a-studio_images_01.jpg"/>
<img src="images/a-studio_images_02.jpg"/>
<img src="images/a-studio_images_03.jpg"/>
<img src="images/a-studio_images_04.jpg"/>
</div>
And like sits in the jQuery file:
$('#s2').cycle({
fx: 'fade',
speed: 'fast',
timeout: 0,
next: '#next2',
prev: '#prev2',
});
I'd really appreciate your help!
Cheers,
H
1



