PDA

View Full Version : Disjointed rollover - image change to text


slbjlj
10-30-2002, 04:10 PM
I am creating disjointed rollovers (javascript) where rolling over an image on the left side of the screen changes an image on the right side of the screen. On most of the screens I have a 'dummy' white image that is replaced by the desired image when the rollover occurs. However, on one page I'd like the rollover to change the 'dummy' image and replace it with text. Is there any way to accomplish this?

Jerome
10-30-2002, 04:50 PM
Hi,

The easiest way is to make an image with Your text....

Jerome

slbjlj
10-30-2002, 04:58 PM
Hi Jerome,

Thanks. I planned on doing it that way but since this one section is a lot of text, I'd rather use HTML text to save file size and download times.

Any thoughts?

Susan

Jerome
10-30-2002, 05:16 PM
Hi Susan,

The image is the easiest way, however You could think about putting an IFRAME in Your document.

To control an IFRAME use the same method like a frame-set

The most complex way is using DIV's and change everything inbetween with document.getelementbyid

Jerome