PDA

View Full Version : ani gif form submit button


andi
08-27-2002, 04:28 PM
HEY

Does any one know how to add a form submit button, the button being a ani gif which would have mouse over effects and on press submits the data in the form.

cheers....
andi rodium

Mark
08-27-2002, 04:40 PM
1. Make you image an animation

2. insert this code as your submit image:

<input TYPE="image" src="image.gif" onClick="document.formName.submit()">

3. what mouseover effects do you want?

andi
08-27-2002, 05:16 PM
hi i use a static image b4 the mouse over, then the image changes to the ani gif and then upon press it submits the form, i use dreamweaver MX, so maybe a java mouse over??

Ben Rowe
08-28-2002, 02:37 AM
its easy, firstly make your rollover, with the animated gif, then as the link put this

href="javascript: document.form_name.submit();"

that tells the form named form_name to sumbit it without actually using a submit button