View Full Version : Image button

08-01-2005, 07:23 AM

With reference to the above coding, how do i go about configuring it so that it works for image buttons as well?

08-01-2005, 08:27 AM
I'm a little rusty on image buttons and, if I recall correctly, there are at least two ways of making them. If you supply the code for your image button, I'll show you how to modify the code from this script to work with it.

08-01-2005, 08:34 AM
an easy code is:
<a href="page.html.html" onmouseover="image1.src='pic_over.gif';"
<img name="image1" src="pic_off.gif" border=0></a>

you just cange the img name to image2, image3, etc.......with every new button.
pic_off.gif is the normal picture
pic_on.gif is the picture onmouseover
(page.html is the target page, it can be changed)
any help?