on the page Show and hide divs at a specific time interval using jQuery
there is a script to Loop through DIVs (show 1 DIV after the other while hiding the others).
it's called "Loop through divs every 10 seconds "
It works fine, but i need to select a special DIV with a click on a special button TOO.
There are 3 DIVS with headline 1 - 2 - 3 (the active is RED) The Loop-Script changes the DIVs and shows them right. BUt whe click on 2 the DIV Nr. 2 should become active. (and the Loop should go on with Nr. 3 - 1 - 2....
simply: how do I tell the script "counter = 3" when clicking on button 3
http://nill-theobald.de/index-test1.html = timer-based script ( http://nill-theobald.de/index-test2.html = via click (completely different script) )
PLEASE: tell it to a complete javascript-idiot (= me...)
:-)
thank you!