SpydermanLA
07-22-2002, 02:33 AM
I have a form that is using an image as the submit button. I've done it it the good old-fashioned way of
<form>
blah
<input type="image>
</form>
What I want is a rollover effect, so that it will be consistent with the rest of my site.
I've tried adding onMouseOver events to the tag itself and wrapping the tag in <div>'s and adding the event to those as well. The problem is that even when I give the <input> tag name="enter" id="enter" attributes, I get an error saying "enter is undefined"
Any suggestions?
The effect should be compatible with DOM browsers, and degrade will back to NN4.0
Cheers,
Spyderman
<form>
blah
<input type="image>
</form>
What I want is a rollover effect, so that it will be consistent with the rest of my site.
I've tried adding onMouseOver events to the tag itself and wrapping the tag in <div>'s and adding the event to those as well. The problem is that even when I give the <input> tag name="enter" id="enter" attributes, I get an error saying "enter is undefined"
Any suggestions?
The effect should be compatible with DOM browsers, and degrade will back to NN4.0
Cheers,
Spyderman