Help with first jQuery Slider
Hi. I am a web designer new to jQuery, and I am currently working on designing my first jQuery Content Slider for my website. I currently have what is a basic slideshow:
<script type="text/javascript">
$(function(){
$('.slider-content img:gt(0)').hide();
setInterval(function(){
$('.slider-content :first-child').fadeOut()
.next('img').fadeIn()
.end().appendTo('.slider-content');},
1000);
});
</script>
The goal is to make it so that the content fades when a link within an <a> tag is clicked. However, using <a> tags require hrefs, and I'm not trying to change the page. Any ideas??