Hi there!
Let's say I have a div with a backgroundimage (my logo) and I need this div to be switched with other 4 divs which are the same image but with other colours. Each image will be called on a mousehover using a jquery effect so it shows up smoothly, the order will be div1,2,3,4,5 and then restarts.
An easier explanation would be..a logo that has 5 diferent colored background and each background color will be shown when you pass your mouse over the logo, like if you pass it the first time it'll be green but if u pass your mouse over the logo again it will be blue and so on.
Now as a completely newbie on javascript and jquery...how can I achieve this? can someone guide me trough some tutorial or specific article or maybe give me a snip if code to start with? I've tried to ask this before and someone answered with a snip of code that would be a variable (a counter to be exactly) but I didn't really understand how it worked and how to implement it...