This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > Replacing a form button with an image





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Replacing a form button with an image
John765

2004-04-23, 5:32 pm

Hello,
I created some kind of protected section in javascript -
http://www.holstars.com but I'd like to replace the button with a small image
that I created, the problem is that I don't know how to change the code in
javascript to get the same effect. Can you help me? Thx!

ZhongQiang

2004-04-26, 5:30 pm

is this wad u meant?



[q][i]Originally posted by: [b][b]John765[/b][/b][/i]
Hello,
I created some kind of protected section in javascript -
http://www.holstars.com but I'd like to replace the button with a small image
that I created, the problem is that I don't know how to change the code in
javascript to get the same effect. Can you help me? Thx![/q]



<input name="imageField" type="image" src="pic.gif" width="80" height="26"
border="0" OnClick="checkPswd('.htm')">

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews