I am looking to create the next effect for my next website:
I know it all might sound really confusing, so I made a picture hopefully explaining my project visually. (check the attached image).
Now I am not sure if this can be solely achieved with use of only CSS, or by combination of CSS and jQuery or smn.
If anyone ever encountered similar implementation, or knows where I can find a code example, or could direct me in the right direction, I would really appreciate it!!!
You could set up mouseover bindings on your continent image and its corresponding div on the left:
$('.div1').mouseover(hoverOne);
$('.continent1').mouseover(hoverOne);
var hoverOne = function(){
//hightlight elements
}
//lather...rinse...repeat for the rest
Something like this should work. See http://jsfiddle.net/neo108/fCsNN/.
Just specify your div's for the related parts in your map in the mouseout
and mouseover
functions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With