cycle through list, change style every x seconds

Posted by kjarsenal on Stack Overflow See other posts from Stack Overflow or by kjarsenal
Published on 2010-05-31T18:01:22Z Indexed on 2010/05/31 18:03 UTC
Read the original article Hit count: 117

Filed under:
|

I have a simple slideshow (jQuery Cycle) that displays an image every ten seconds (7 total images). In an adjacent div, I have a list with 7 bullet points. What's the easiest way to script a method in which the css/style of the appropriate bullet point changes as its accompanying image. The idea is to have all list items displayed, but 1 highlighted every 10 seconds?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery