| | |
|
|
|
Gifs that act like buttons |
| message from trufla on 23 Jul 2004 |
Hey guys!
I have created a user login facility on my site and I wanted to make it look
at little more pretty than the standard button object. I created a "submit gif"
and was wondering how do I make it act like a button?
I clicked the gif before attaching the Authenticated users function to it but
when I preview the page in the browser the cursor doesnt change to a hand to
signify it is clickable.
any ideas?
|
| two can's replied to trufla on 23 Jul 2004 |
hi yea
1.In Dreamweaver select the image you want to use to submit or reset you
form.
2. In the link Box of the Properties palette type the following javascript
javascript:document.yourformname.submit()
javascript:document.yourformname.reset()
Save the document and test!
So now now you are able to use the images that you took so long to make to
send your forms!
Alternativley you can add this code at source view
<a href="javascript:document.form1.submit()"><img
src="images/your_image.jpg" width="189" height="192" border="0"></a>
<a href="javascript:document.form1.reset()"><img src="images/your_image.jpg"
width="189" height="192" border="0"></a>
regards
twocan's
"trufla" <webforumsuser@macromedia.com> wrote in message
news:cdqlst$j5p$1@forums.macromedia.com...
|
| trufla replied to trufla on 23 Jul 2004 |
Anyone?
|
| Singularity.co.uk replied to trufla on 23 Jul 2004 |
Trufla
Instead of adding a button to your form add a form Image field and browse to
the image you wish to use.
Brendan
|
|
Archived message: Gifs that act like buttons (Macromedia Dreamweaver)