Using a different sized jpeg as a...

User 452323 Photo


Registered User
4 posts

Hi there

Is it possible to use a larger jpeg as the mouseover object than the original jpeg?

I would like to use a 120x160 picture as the original object, but when the mouse moves over the picture, have it expand into a 400x400 jpeg image.

I would like to be able to make photos enlarge on mouseover, but also be able to do cast biographies when hovering over their headshot.

For an example of what I am trying to do, please see www.frazertheatre.co.uk/tlmacbeth.html and specifically the actor Gavin Jones. the larger jpeg seems to be transparent even though I have set its alignment to be 'Bring To Front'. Other text on the page is seen in front of my mouseover object.

Cheers,
Howy
User 187934 Photo


Senior Advisor
20,271 posts

You could do this with the mouseover buttonizer in VSD. Or you could handle it this way.

http://progrower.coffeecup.com/picsmouseover.html
or here's a simpler version that I just made.:D
http://progrower.coffeecup.com/csspopup.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1861272 Photo


Registered User
339 posts

Howy-
In VSD every mouseover object has to have it's own space in both views. If your original image is 150 X 150 and the mouseover is 300 X 300 then you need to leave space for the 300 X 300 size.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.