Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Bare-bones rollover


txbakers - 3:04 am on Feb 14, 2002 (gmt 0)


when I'm not using DW, I code it very simply also by incorporating the name of the img into the routine. I also create the images with the a character such as "O" for over in the name.

function over(name) {
name.src=name + "O.gif"
}

<img name="bob" src="bob.gif" onMouseover="over(this)">


Thread source:: http://www.webmasterworld.com/javascript/46.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com