Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    Dear Friends!

    I would like to ask you how to transform a form button which is available from teh Dreamweaver forms tab into a normal (rollover like) simple button which will simply link to another page and not submit anything. For an example of such button please visit
    gmail.com (the "Sign In" buttin). Or is there any free online button gallery where it can be found?

    Thank you in advance!!!!

    Dima

  2.  

  3. #2
    Senior Member
    Join Date
    Jul 2005
    Location
    S.Wales, UK
    Posts
    250
    Member #
    10742
    Do you mean change the submit button into a normal button, or into an image button.

    For a normal button change the type from "submit" to "button"

    If you just want it to link to another page, just use an image not a button.

    A form button that looks like an image is usually used as a submit button.
    Paul Creedy
    Visit my community site at: www.rhonddacynontaff.com
    My hosting: www.rcthosting.com
    My Content Management product: www.dynamiccontenteditor.com

  4. #3
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    hello and thanks!!!
    can you please confirm that there is absolutely no way that a form button can be used to link to another page ?
    Thanks

  5. #4
    Senior Member Stylise's Avatar
    Join Date
    Jul 2005
    Location
    Mount Martha, Australia
    Posts
    229
    Member #
    10679
    What's your reason behind wanting to do this?

  6. #5
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    well i am asked by my manager to make a button like he sees on gmail.com (submit). it will be used on our site to link to another page.

  7. #6
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    i have actually been suggested the following:

    <form name="form1" id="form1" method="post" action="http://www.example.com">
    <input type="submit" name="Submit" value="Link" />
    </form>

    which i do not know how to make into a simple button linking to that page

  8. #7
    Senior Member Stylise's Avatar
    Join Date
    Jul 2005
    Location
    Mount Martha, Australia
    Posts
    229
    Member #
    10679
    Usually if you want a button that links to another page you use an img wrapped in a hyperlink ie.

    HTML Code:
    <a href="/page.html"><img src="/image.jpg" /></a>
    Forms are only used to send information to another page, such as login details.


    If you are using a form and need to send (user inputed) information when you click on the button, then you need to use the example you gave above, but with some css.

    ie.
    HTML Code:
    input.submit {
        background: url("/image.jpg") no-repeat top left;
    }
    HTML Code:
    <form name="form1" id="form1" method="post" action="http://www.example.com">
    <input type="submit" name="Submit" class="submit" value="Link" />
    </form>

  9. #8
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    thanks...actually i am aiming for a simple button which will link to another page but made without the use of any images (like the form buttons below this message - "Post Qucik Reply" and "Go Advanced") I need to modify the code I posted above to simply link to another page. Do you think that can be possible?

    Thanks

  10. #9
    Senior Member
    Join Date
    Jul 2005
    Location
    S.Wales, UK
    Posts
    250
    Member #
    10742
    You could use a form button, but put a javascript onClick go to url on it, or you could grab the button as an image (using a screen grab or something) and then just use that image with a href hyperlink on it and it will look just like a button.

    I wouldn't use the form method above unless you are actually passing form information to another page.
    Paul Creedy
    Visit my community site at: www.rhonddacynontaff.com
    My hosting: www.rcthosting.com
    My Content Management product: www.dynamiccontenteditor.com

  11. #10
    Member dima777's Avatar
    Join Date
    Jun 2005
    Posts
    35
    Member #
    10309
    cool
    i will try to grab a button now...lets see how it goes...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com