View Full Version : displaying text on mouseover

06-28-2005, 02:52 PM

I'm new here. Just stumbled across this forum while looking for a solution to my latest web coding problem. I'm more of a designer than a coder, but my current project requires that I perform both roles, so forgive me for bringing this probably very simple question to you pros. :)

What I'm trying to do is display text on a mouseover in the same way that you'd display an image. Right now I'm using the "swap" function with a GIF version of the text, but it will look better and load faster if I can figure out how to just do it as straight text.

Here's what I'm using now: onMouseOver="swap('finishname_small', 'graphics/finishes/finish_type_natural.gif')"

The idea is to mouseover a small thumbnail (of a wood finish) and have the name of the finish show up in a different place on the screen, if that helps any. All names would be shown in the same place.

Any tips you could offer would be great!

Thanks a ton,

07-01-2005, 02:50 PM
Why not place the text in a seperate layer and hide the layer... then when mouse over make the layer visible and hide on mouseout.