HighDots Forums  

Converting graphics to buttons (submit, reset)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Converting graphics to buttons (submit, reset) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Aerosol Dreams
 
Posts: n/a

Default Converting graphics to buttons (submit, reset) - 09-01-2004 , 01:48 PM






How can I convert a graphic into a submit or reset button. I tryed using form button fever extension but it doesn't work for DWMX 2004. Can anyone help or point me in the wright direction.

Reply With Quote
  #2  
Old   
cmbergin
 
Posts: n/a

Default Re: Converting graphics to buttons (submit, reset) - 09-01-2004 , 02:12 PM






No, but I can point you in the right direction. Sorry, cheap shot.

There's a form input element specifically for images. They create graphical
submit buttons.
The code looks like this:
<input type="image" src="mySubmit.gif" name="submit" id="submit">

Naming your image button "submit" is a good habit to get into. If you want a
generic button from an image, just insert a standard image tag and make use of
the onClick event. The image fields support onMouseOver, etc, as well, even if
DW won't let you apply the swap image behavior directly to the input element.
(Just apply it to a standard image and copy and paste the code into the image
field.)


Reply With Quote
  #3  
Old   
Aerosol Dreams
 
Posts: n/a

Default Re: Converting graphics to buttons (submit, reset) - 09-01-2004 , 02:17 PM



Not a cheap shot indeed. That solved my problem. Thank you very much.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.