SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm after a script that will send a person right to the link they have selected in a drop down box without having to click a go bottom.

    Thanx in advance

  2. #2
    ********* Scotland Saltire's Avatar
    Join Date
    Jan 2000
    Location
    Scotland
    Posts
    660
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <form name="QuickIndex">
    <div align="center">
    <select size=1 name="select" onChange="if(options[selectedIndex].value) top.location.href=(options[selectedIndex].value)">
    <option>Select a Section</option>
    <option>------------------------------------------</option>
    <option value="http://www.theurl.com">Text</option>
    <option value="http://www.theurl.com/1.htm">2nd Text</option>
    </select>
    </div>
    <noscript> </noscript>
    </form>

    Add or remove <option> </option> as required.

    Hope this has helped.

    ------------------
    Methven Online - The Original Methven
    Subtle Measures - Celtic Rock in the Heart of Scotland
    SaltireDigital - Scotland's Internet Radio Station

  3. #3
    SitePoint Zealot BobM's Avatar
    Join Date
    Jun 2000
    Location
    Tucson, AZ, USA
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I may use this script as well, but I have one problem. I want to use it on a site that has a frame on the bottom http://www.aisle-nine.com . Is there a tag that I can add to the above script so that when a link is chosen it doesn't kill the frame? If so where would it be placed? I tried adding <param NAME="target" VALUE="_top"> (this is what I used on a Java applet drop down menu), but it doesn't work.

    Thanks,

    ------------------
    Bob Messinger
    Bob@associate-trackers.com

    http://www.associate-trackers.com

  4. #4
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Checkout this automatic generator on DynamicDrive.com:
    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    Pretty handy for quick menus.

    *** EDIT NOTICE ***
    My mistake, I thought that was something else!
    *** EDIT NOTICE ***

    ------------------
    Chris Bowyer chris@mycoding.com
    MyCoding.com: Visit for Launch Notification!
    DomainMailings.com: Who Says All The Good Ones Are Taken?
    MovieForums.com: Talk About Your Favorite Flicks!

    [This message has been edited by TWTCommish (edited July 30, 2000).]

  5. #5
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i would recommend checking out this site... http://javascript.internet.com/navigation/
    they've got some nifty little javascript pulldown menus.
    they even have ones for frames sites...

  6. #6
    SitePoint Zealot BobM's Avatar
    Join Date
    Jun 2000
    Location
    Tucson, AZ, USA
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well thanks for trying Chris!

    Thanks for the link corrupt! I found just the menu I was looking for.


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
  •