I essentially have a web page that has a media div with two pictures that scroll in it depending on what focus you want. I have two bodies of text under the media div, clicking on either body of text will scroll the div to display the appropriate image.

Is there a simple way to tweak this such that hovering over either body of text scrolls the correct image into the media div?

Please help! Thanks, I appreciate it.

2 answers

Mottie 1134
0
points

It would help if you provided some sample code to work with, but in case you don't know about the jQuery ScrollTo plugin, check out the demo page. You can make the links work on mouseover instead of clicking if that is what you want.

Answered almost 7 years ago by Mottie
0
points

I believe you would need to use some javascript/jquery to tell the browser "on hover show image x".

Answered almost 7 years ago by louisstephens