1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

98SE/IE6/HTML/Form

Discussion in 'Other PC Software' started by merlin, 2004/10/05.

Thread Status:
Not open for further replies.
  1. 2004/10/05
    merlin

    merlin Inactive Thread Starter

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    Hi all, this is puzzling me.
    I have a Form on a web page. It drops down a "Choose" menu.
    Here is an example ...
    =========================================================
    <form name= "addresses ">
    <select name= "list" onChange= "update() ">
    <option value= "mailto:master@wildcall.hypermart.net ">Email Catz Meow
    <option value= "mailto:support@wildcall.hypermart.net ">Email support @ This Site
    <option value= "http://users3.ev1.net/~meowcat/catzmeow/free/code ">Go to Catz Meow Free Scripts Home Page
    <option value= "http://users3.ev1.net/~meowcat/catzmeow/free/images ">Go to Catz Meow Free Images Page
    </select>
    <a href= "updatelink ">Choose and go !</a>
    </form>
    etc etc ....
    ==========================================================
    Works fine BUT I want the Form to open to the left of the
    button that opens it and not right or centred.
    I cannot find out how to position a form.
    Thanks for any help.
    regards
     
    Last edited: 2004/10/05
  2. 2004/10/05
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    I think you can do what you want by using a style sheet:

     

  3. to hide this advert.

  4. 2004/10/05
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    This seems to work if you want the whole thing
     
  5. 2004/10/05
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Best to keep the select arrow button on the right. But I do not think that is what you are asking about anyway. I assume that once a selection is made from the list, then a new page loads or the client's default email app will open, depending on what is selected.

    It also looks like the actual javascript is missing from the code you posted. The code contains the function onChange= "update()" but where is the actual script that this function refers to?

    I am unclear a bit as to what you really want. The code, as you first posted it, WILL display the dropdown select list on the left side of the dropdown arrow button. "Choose and Go!" is NOT a form button. It looks as though it's an incomplete form, lacking some needed code.

    BTW, you can customise the form elements using your existing css at your web site. Just add the styles:
    form { }
    select { }

    You can customise colors and text & background, but you cannot change the actual color of the dropdown button with css:
    http://www.htmlgoodies.com/beyond/cssforms.html
     
  6. 2004/10/06
    merlin

    merlin Inactive Thread Starter

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    Many thanks for your help. I am still working on it but your tips have been
    very useful eg I had never come across
    direction : rtl;
    before.
    TonyT I did not paste all the code to post after the "etc etc" as it was not
    relevant to the Form coding, but thanks for the comment - the onchange code is present in the original html I have.
    regards
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.