[jQuery] How do a create a loop in my slideshow? (pelase help)

2009-07-23 Thread Smickie
I have create a slide show that has next and previous buttons and an area of 'dots' that link to a specific slide, however I'm having difficulty in looping the sideshow so it runs automatically. Ive tried making a loop function but it seems to act strangely. I'm pretty new to jquery and would re

[jQuery] next index in Jquery

2009-07-03 Thread Smickie
I was wondering if someone could please help me with a little Jquery. Does anyone know how i would go about selecting the next .slide after the one with .current in it? how can i get the div index of the .current class? Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Ive got the action attached to s