PDA

View Full Version : dreamweaver question


andilcho
01-15-2004, 06:07 PM
i'm using dreamweaver mx and i'm trying to work with layers. i would like the mouse to point over a link and have an image appear somewhere else on the screen. how do i set the behaviors to make it appear where i want it. for a perfect example, look at denon's web site and you will understand what i'm talking about. thanks

http://www.denon.com/

whackaxe
01-15-2004, 06:27 PM
one way* = javascript.

you include an id attribute on you <img> tags then in js:

document.images['idofimage'].src = "newsrc.jpg"


*ok, flash if you accept image as flash

andilcho
01-15-2004, 06:49 PM
Huh ?
What ?

Paul Jr
01-17-2004, 03:28 AM
You could Google it... (http://www.google.com/search?q=JavaScript+Rollovers&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8)