SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Dropdown menu showing different text box dependent on selection

    Hello all!

    Ok I clearly have communication issues, so please bear with me in the loveliest way possible.

    There are a bunch of contacts I need to add to my site. They are organised by country.

    I don't want to show a table with ALL the contact details on. I want to offer a dropdown menu or similar with the countries inside it, and then dependent on the country selected, the relevant contact information would be displayed in a text box alongside.

    How can I create this and - equally importantly - integrate it into a WordPress page?

    Thanks so much!

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is not possible with HTML, which is a markup language, not a programming language.

    You can do it with JavaScript, but that question belongs in the JavaScript forum.
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right, in that case, thank you ever so much. I'll report it to the mods to move.

    Appreciate your insight. Have a great weekend!

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,466
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by stormywhether View Post
    Hello all!
    I want to offer a dropdown menu or similar with the countries inside it, and then dependent on the country selected, the relevant contact information would be displayed in a text box alongside.
    Couldn't you use a normal dropdown menu for this like the suckerfish menus?

    http://wpgarage.com/plugins/create-d...ns-and-themes/


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •