Log in

View Full Version : Image Rollovers- is this possible?



apriljoanne
05-17-2014, 09:39 PM
So I have two main divs on my website that are side by side. I have a table in the main div with images. What I want is on rollover of the images in the table to have the rollover image display on the div to the right.

I know I can do this by setting the position with pixels and it will probably take a bit of trial and error and I think depending on how large people have their window sizes set may vary from person to person. I'd like something more fixed like-> "display rollover in side div".

I hope that makes sense...

What do you think? Is this doable? Any tips? Trying to avoid javascript, I don't understand it as well as CSS/HTML. But I am willing to use it if it won't interfere with the over js on my page.

jscheuer1
05-18-2014, 01:26 AM
I actually would recommend a javascript for that:

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

Without javascript things are more limited and I don't think you can quite accomplish what it sounds like you're describing. But you can come fairly close:

http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/

And here's another non-javascript approach, not as close, but after you see the other two - look at this, you might decide you like it better:

http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/