PDA

View Full Version : Newbie - How to display an image w/mouseover



shake
08-23-2002, 04:44 PM
Probably something really simple.
I have column of text on the left,
and when I mouseover on the text
I want to see the corresponding image
on the right. How do I do that?
I figured out how to do mouseover text,
but I want to do images. Help!!

Lorne
08-23-2002, 04:54 PM
By column of text, do you mean a column of several text objects? One text object on the left, for each image you want to display on the right?

You probably want to have multiple image objects on the right, then...one for each image you want to show or hide. In the On Mouse Over event for each text object, you'll use a "Page - Show Object" action to show the corresponding Image Object. Then, on the On Mouse Leave event, use a "Page - Hide Object" action to hide the Image Object again.

On the page's On Initialize event, hide all the image objects, either with a bunch of "Page - Hide Object" actions, or a "Page - Hide All Objects" action.

shake
08-23-2002, 05:06 PM
Got how to creat the Page -Show Object
now... how do I link the image to the object?
Is it defined somewhere else?

eric_darling
08-23-2002, 09:42 PM
The image is the object, actually. You are simply telling the page properties to show or hide a particular image (selectable in the drop-down list) on a given event, such as a mouse click or mouseover. At least this is the way it works in 4.0. You are using 4.0, aren't you? /ubbthreads/images/icons/wink.gif

Derek
08-23-2002, 09:48 PM
I think what yur asking is ... how do i show the image?

As Lorne said .. its gotta go under the Mouse Over of the Text Object.
In the SHOW dialog .. the image (and any other objects - which yu have to create first!) will be listed in the drop down list. Just select the one yu want to show. The same goes for the HIDE dialog

(I guess you beat me there Eric - I took too long replying) /ubbthreads/images/icons/smile.gif