45 users online (0 members and 45 guests)  

Thread: Buttons Direct


  Results 1 to 2 of 2

Related

  1. Replies: 0
  2. Security for direct typing    Forum: HTML Forum
    Replies: 1
  3. using the URL to direct website visitors    Forum: HTML Forum
    Replies: 1
  4. Just give me a direct line =0)    Forum: Website Scripts Forum
    Replies: 3
  1. #1
    JackKing's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Feb 2004
    Posts
    35

    Arrow Buttons Direct

    Greetings,
    I want to just utilize the button as shown below to point to a specific URL.
    How can I do this?
    Also, is there a way to alter the size of the button?

    Thanks,
    Jack

    <form name="form1">
    <input style="font-size:14px;color:red;font-family:verdana;background-color:yellow;
    font-weight:bold;font-style:italic;"
    type="button" onClick="location=document.form1.menu.options[document.
    form1.menu.selectedIndex].value;" value="GO">
    </form>

  2. #2
    Android's Avatar

    Status
    Offline
    Join Date
    Oct 2002
    Location
    I AM CANADIAN
    Posts
    440

    Smile For the size of the button

    You can style it within the input tags:
    Code:
    <input style="width:300px;height:200px;font-size:14px;color:red;font-family:verdana;background-color:yellow;
    font-weight:bold;font-style:italic;"
    type="button" onClick="location=document.form1.menu.options[document.
    form1.menu.selectedIndex].value;" value="GO">
    Pretty big button here, but you can edit it to your liking



Tags for this Thread