[html] Question about buttons menu

User Tag List

Results 1 to 9 of 9
  1. #1
    Ascelyn's Avatar Member
    Reputation
    22
    Join Date
    Jul 2009
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [html] Question about buttons

    So I've got two questions.

    1. I would like to have this script to work so that if you fill in the form. And press send it'd send it straight to me

    2. I want my button linked to a website.

    ----------------------------------------------------------------------------
    HTML | <form action="MAILTO:xxxx@xxxx - Correct mail - ETJXe3nh - Pastebin.com
    This is the way how I found to send simple things to me. And it works.
    ----------------------------------------------------------------------------
    This is the script where I want to add the "send" "reset" button. So everyone who fills in the form can send it to me(Site isnt public, never will.)
    if you find anything that's wrong, feel free to post it
    HTML | <form> First name: <input ty - Correct mail - 7jVj68MP - Pastebin.com
    --------------------------------------------------------------------------
    This is the script of a button >.<
    BUT! I want the button to be linked to a website. E.g: When I click the button it brings me to youtube or something.
    (I know I should post it in pastebin, But didnt see the need for this small and basic HTML code)

    HTML Code:
    form action="http://www.youtube.com/">
    <input type="button" value="clicky clicky">
    This is what I thought I should do. Unfortunatly. It failed.
    Last edited by Ascelyn; 03-20-2010 at 09:51 AM.

    [html] Question about buttons
  2. #2
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    action is what it does when the form is submitted. You want another event raised

    HTML | <form action="mailto:XXXXX@XXX - Reid - C2rav5ms - Pastebin.com

  3. #3
    Ascelyn's Avatar Member
    Reputation
    22
    Join Date
    Jul 2009
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks.
    1)But what exactly would I want to type if I want a menu made out of buttons? Because currently it exists of hyperlinks.

    Pastebin of my menu

    2) What exactly does this do:
    HTML Code:
    <form action="mailto:[email protected]" method="post"  onSubmit=window.location.href="WEBPAGE.html">
    Thanks in advance I'm going to +rep you for the help in your previous post.

  4. #4
    Relexx1's Avatar Member
    Reputation
    23
    Join Date
    Sep 2007
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ascelyn View Post
    Thanks.
    1)But what exactly would I want to type if I want a menu made out of buttons? Because currently it exists of hyperlinks.

    Pastebin of my menu

    2) What exactly does this do:
    HTML Code:
    <form action="mailto:[email protected]" method="post"  onSubmit=window.location.href="WEBPAGE.html">
    Thanks in advance I'm going to +rep you for the help in your previous post.
    Not sure if this is what you mean, but..

    1)An example of a button used instead of hyperlinks: <input type=button value='eBay' onclick='window.location.href = "http://ebay.com/"'>

    2) (Not sure) By clicking the button it'll send the data to (mailto[email protected] by using the post method (not get), and it'll then redirect you to domain.com/webpage.html

    Hope this helped you..
    I BE EPIX

  5. #5
    Ascelyn's Avatar Member
    Reputation
    22
    Join Date
    Jul 2009
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! That's exactly what I ment! +rep

  6. #6
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alternatively for 1, just use a <a> tag as usual but rather than have text have a <input type="button" value="blah"/>

    And 2, that's exactly what it does. Or should do, if it doesn't say and I'll have a think and get back to you.

  7. #7
    daphtpunk's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where can one find more information on 1?

  8. #8
    Ascelyn's Avatar Member
    Reputation
    22
    Join Date
    Jul 2009
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1)An example of a button used instead of hyperlinks: <input type=button value='eBay' onclick='window.location.href = "http://ebay.com/"'>
    You mean that? If so you should check this

    They have some basic & advanced information

  9. #9
    extramaster's Avatar Private
    Reputation
    1
    Join Date
    Apr 2010
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by daphtpunk View Post
    Where can one find more information on 1?
    Well, I can just explain it to you...
    this "<input type=button value='eBay' onclick='window.location.href = "http://ebay.com/"'>"
    uses a technology or scripting language called javascript, or let's put it this way, it helps website makers save alot of time making good websites
    well let's break the code apart
    <input - the code
    type=button - this makes it a button
    value='eBay' - this is the text which right now is "ebay"
    onclick='window.location.href = "http://ebay.com/"' - now this... this is javascript... Which says that when you click the button, it will go to "http://ebay.com/"
    > - and this ends the code

    if you want to quickly make a button then edit this where it tells you to edit it:
    <input type="button" value="Write your text here (edit everything inside the qoutes)" onclick='window.location.href = "Write the link that you want here (edit everything inside the quotes)"'>
    Last edited by extramaster; 04-08-2010 at 03:07 AM. Reason: to colo(u)r it

Similar Threads

  1. A question about converting
    By krazy12766 in forum World of Warcraft General
    Replies: 2
    Last Post: 08-22-2006, 08:02 PM
  2. question about model editing
    By Zanatons in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-17-2006, 09:21 PM
  3. questions about model editing
    By Zanatons in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-17-2006, 05:32 PM
  4. Question about MCing - Frostwolf
    By Hydrox in forum World of Warcraft General
    Replies: 0
    Last Post: 07-21-2006, 02:53 AM
  5. questions about model editing
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 07-08-2006, 09:41 PM
All times are GMT -5. The time now is 02:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search