dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Trying to create a navigational drop-down box.

  1. #1
    Join Date
    Dec 2005
    Posts
    7

    Trying to create a navigational drop-down box.

    I have seen a tutorial on how to create a navigational drop down box with a button to activate the link. I am trying to create one where when the user selects an option from the drop down box it takes them there automatically without them having to click a button to activate the link. Make sense?

    Here is the code that GoLive generated for such a drop down box. it works on my computer in safari and internet explorer, but does not work on any other computer. this code is located at theplasticarts.com if you would like to see it in action. just enter the site and look to the bottom right of the page.

    hope you can help. thanks in advance.



    <csobj w="135" h="23" t="URLPopup" data="{ 0 = { label = &quot;Select a destination...&quot;; selected = &quot;YES&quot;; }; 1 = { label = &quot;Home&quot;; url = &quot;home.html&quot;; }; 2 = { label = &quot;Info&quot;; url = &quot;info.html&quot;; }; 3 = { label = &quot;Music&quot;; url = &quot;music.html&quot;; }; 4 = { label = &quot;Shows&quot;; url = &quot;shows.html&quot;; }; 5 = { label = &quot;Contact&quot;; url = &quot;contact.html&quot;; }; 6 = { label = &quot;Links&quot;; url = &quot;links.html&quot;; }; }" target="_top">
    <form action="#" method="post" name="cs_form_name_1">
    <select name="cs_popup_name_1" onchange="CSURLPopupShow(/*CMP*/'cs_form_name_1', /*CMP*/'cs_popup_name_1', '_top');">
    <option value="#" selected>Select a destination...</option>
    <option value="home.html">Home</option>
    <option value="info.html">Info</option>
    <option value="music.html">Music</option>
    <option value="shows.html">Shows</option>
    <option value="contact.html">Contact</option>
    <option value="links.html">Links</option>
    </select>
    </form>
    </csobj>

  2. #2
    Ubik's Avatar
    Ubik is offline &lt;%= &quot;New Meja Hor&quot; %&gt;
    Join Date
    Nov 2005
    Location
    Earth
    Posts
    361

  3. #3
    Join Date
    Dec 2005
    Posts
    7
    thank you very much. i have gotten mine to work using a script i found on another site and used with their permission.

    but i will try this one out. it is much cleaner than the one i am using.

    thanks.

    -- kyle m. terrizzi --

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles