PDA

View Full Version : Action when mouse on


NaQuer
10-17-2003, 02:19 PM
Hey

At www.ipexpert.com > select one of the four links on the top ( eks. partnerships )
There's four boxes to the right, each containing a picture and some text. When holding the mouse over one of the pictures, which is in another cell than the text below it, the text still change color, even when it's in another cell than the picure which the pointer is being hold over. How is it possible to make a target for on mouse over, or whatever they've done? I'm talking about HTML and not flash.

-Mikkel

Billy T
10-17-2003, 02:23 PM
you do realise that is flash?

NaQuer
10-17-2003, 02:42 PM
That is not flash. I don't mean the boxes which are on the frontpage, but those which are when you hit eks. partnerships in the top panel. Those are not made in flash.-


-Mikkel

senocular
10-17-2003, 03:13 PM
its just a matter of changing the src of the other image instead of the image being rolled over

if in dreamweaver, that option is given... as well as whatever it is you're using (you didnt specify that).

its not hard.

NaQuer
10-18-2003, 05:30 AM
I'm using dreamweaver. Can you give me a concrete example of how it can be done in dreamweaver, becaurse i don't quite get the point of chaning source etc.

-Mikkel

senocular
10-18-2003, 11:44 AM
ok, you got yourself two images. Select on the image that is to change - not the image to interact with the mouse rollover, the one that will actually change due to that rollover. With it selected, give it a name in the properties panel - the name is the very first input field directly right of the image's thumbnail there.

Now select the other image - the image that defines the rollover area. Using the behaviors panel (Shift + F3) Add a new "Swap Image" behavior using the [+] menu. In the dialog, select the image you just named and then click on the browse button to define which image it's to become.

Now THAT image defines the rollover for the named image. tah dah!