Here is the image:
The picture is divided into four parts, and my idea was that when you was to hover your mouse over one of the parts, all the boxes would change to another picture. So if you were to hover over the first "box" all the "boxes" would change to a different picture and so on.
If you got a clue what to do here, it would be much appreciated!
Last edited by Mc-Mowgli; 11-13-2012 at 01:44 PM..
I would give you a hug if I could!
Thanks a 100 times!
var hovers = [
// first, preload the images...just replace the hovers array elements
So I have to replace these nov.jpg with my own pictures, and how do I do that?
Don't really get where all those pictures come from, i can only see that there should be 4:
You are really a nice guy, taking your time to explain this to me! Seems like this is a great community, and everybody is helping were they can. Keep up the awesome job of providing coding solutions to people that needs guidance in that field!
Can somebody help with that?
PS. I don't think i'm THE Rasmus, at least not yet
Hover over image1 and the new set of images appears.
Move your mouse off of image1 (and *NOT* onto any other image) and the original 4 images appear.
Hover over image1 and a new set of images appear; hover over image2 and a different set appear; go back to image 1, and the first new set reappears. Move off of both image1 and image2 at any time and the original 4 images appear.
Maybe you need to describe *exactly* what action you are expecting that is different than that?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Okay, I actually found out what the problem was. I can see that your code included all the things I needed I changed in a number that was 0 to 4, else it would not work for me, but then it was changed on another computer and worked, really strange.. But thanks