Community Forums 

Main Content

Newbie help with buttons

    Sep 19 2008 05:55:16

    #1

    PukkaSkincare

    Join date : 2008-09-19      Posts : 17

    Hello,

    Can you make your own image to use for the Buy Now buttons?
    ie. if I use the hyperlink, can I attach it to a my own button image?



    Sep 19 2008 06:32:55

    #2

    GT

    Join date : 2008-09-18      Posts : 3243

    PukkaSkincare said: Hello,

    Can you make your own image to use for the Buy Now buttons?
    ie. if I use the hyperlink, can I attach it to a my own button image?


    You can use in a link:
    <img src="images/button.gif" alt="Buy Now" width="150" height="25" border="0">

    Or, in a form:
    <input type="submit" src="images/button.gif" width="150" height="25" border="0" />

    hih.

    Mals Forms: http://www.tne.co.uk/2006/mals/

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Sep 20 2008 01:28:45

    #3

    PukkaSkincare

    Join date : 2008-09-19      Posts : 17

    This is the code I am using for the form, could someone let me know if they see any issues with it?
    It appears to be working so far, but before I go and implement it on 100's of products, I just want to be sure nothing is going to jump out and bite me later.

    THANK YOU for your opinion!


    <form action="http://ww12.aitsafe.com/cf/add.cfm"; method="post">
    <input type="hidden" name="userid" value="E818152">
    <input type="hidden" name="product" value="Vani-T Tanning Mist">
    <input type="hidden" name="price" value="39.95">
    <input type="hidden" name=qty value="1">
    <input type="hidden" name="return" value="pukkaskincare.com/ProductLists/VaniT">
    <input type="hidden" name="units" value="250">
    <input type="image" src="../Images/Buttons/AddToCart.jpg" border="0" />
    </form>



    Sep 20 2008 02:27:29

    #4

    Debbie Q

    Join date : 2008-09-18      Posts : 4998

    Looks good to me. :) Good job.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Sep 20 2008 06:01:29

    #5

    GT

    Join date : 2008-09-18      Posts : 3243

    PukkaSkincare said: This is the code I am using for the form, could someone let me know if they see any issues with it?
    It appears to be working so far, but before I go and implement it on 100's of products, I just want to be sure nothing is going to jump out and bite me later.

    THANK YOU for your opinion!


    <form action="http://ww12.aitsafe.com/cf/add.cfm"; method="post">
    <input type="hidden" name="userid" value="E818152">
    <input type="hidden" name="product" value="Vani-T Tanning Mist">
    <input type="hidden" name="price" value="39.95">
    <input type="hidden" name=qty value="1">
    <input type="hidden" name="return" value="pukkaskincare.com/ProductLists/VaniT">
    <input type="hidden" name="units" value="250">
    <input type="image" src="../Images/Buttons/AddToCart.jpg" border="0" />
    </form>


    The last line needs changing to the line I gave you previously:
    <input type="submit" src="../Images/Buttons/AddToCart.jpg" border="0" />

    You have to tell the form to submit, the attribute image will work but you will have issues with browsers.

    hih

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.