www.webdeveloper.com
Results 1 to 3 of 3

Thread: Form Buttons with rollover images

  1. #1
    Join Date
    Dec 2002
    Location
    London
    Posts
    2

    Form Buttons with rollover images

    Hello,

    I'm using Dreamweaver to design my pages and I'm having trouble trying to
    incorporate javascript for rollovers into the FORM code.
    The Form code is code for a shopping cart link.

    What is the correct syntax for incorporating rollover images in a Form?

    Thanks...

  2. #2
    Join Date
    Nov 2002
    Location
    Hove, UK
    Posts
    160
    Dreamweaver has its own 'insert rollover' function, have you tried this?

    And then copy the relevant code to where it's needed.

  3. #3
    Join Date
    Dec 2002
    Location
    London
    Posts
    2
    Thanks but I can create roll overs OK in DW but I'm just having trouble
    incorporating the right code/syntax into the Form setting...

    For example, here's the code/link for the images:

    <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Medium','','medium_rollover.gif',1)"><img name="Medium" border="0" src="medium.gif" width="85" height="23"></a>

    And here's the code for the Form:

    <form action="http://ww4.aitsafe.com/cf/add.cfm" method="post">
    <input type="hidden" name="userid" value="6531023">
    <input type="hidden" name="product" value="Medium T-Shirt">
    <input type="hidden" name="price" value="12.50">
    <input type="hidden" name="return" value="www.satansbusy.com">
    <input type="hidden" name="units" value="1">
    <input type="image" src="medium.gif" Alt="Buy Now">
    </form>

    I just can't get it right!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles