Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

pulldown menus

  • 10-06-2002 9:59pm
    #1
    Closed Accounts Posts: 8,478 ✭✭✭


    hello

    im trying to setup a menu "system" where by

    1) selecting an option from one menu causes the contents of the 2nd pulldown menu to change

    this i have working [by copying script, ahah]

    2) selecting an option from the 2nd pulldown menu causes a page to load

    or something like that, any help at all would be appreciated

    ta


Comments

  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    from this i take, you have part 1 working, and now you need a script to go to a url depending on the selection of the second combo box, am I right??


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    If so...
    <select name="forumid"
    	onchange="window.location=('forumdisplay.php?s=&daysprune=&forumid='+this.options[this.selectedIndex].value)">
    		<option value="-1" >Please select one:</option>
    		<option value="-1">--------------------</option>
    		<option value="pm" >Private Messages</option>
    
    		<option value="cp" >User Control Panel</option>
    		<option value="wol" >Who's Online</option>
    		<option value="search" >Search Forums</option>
    		<option value="home" >Forums Home</option>
    		<option value="-1">--------------------</option>
    		<option value="81" > Admin</option><option value="98" >-- Newbie FAQ</option><option value="82" >-- Bugs / Suggestions</option><option value="30" >-- Admin</option><option value="52" >-- Recycle Bin</option><option value="133" >-- Mod</option><option value="153" >-- Boards Events</option><option value="3" > After Hours</option><option value="7" >-- After Hours</option><option value="18" >-- Films / TV</option><option value="47" >-- Motors</option><option value="19" >-- Literature</option><option value="22" >-- Humour</option><option value="27" >-- Art / Anim / Photo</option><option value="35" >-- Food / Drink</option><option value="37" >-- Travel / Hols</option><option value="154" >-- Sci-Fi / Fantasy</option><option value="93" >---- Sci-Fi / Fantasy</option><option value="103" >---- Lord Of The Rings</option><option value="122" >---- Smallville</option><option value="150" >---- Star Wars</option><option value="2" > Society</option><option value="106" >-- Business / Economy</option><option value="21" >-- Humanities</option><option value="31" >-- Gaeilge</option><option value="99" >-- Politics</option><option value="109" >-- Green Issues</option><option value="127" >-- Personal Issues</option><option value="4" > Games</option><option value="12" >-- Games</option><option value="13" >-- Quake</option><option value="14" >-- Unreal</option><option value="15" >-- Half-Life / TFC / DOD</option><option value="26" >-- Counter-Strike</option><option value="16" >-- Tribes</option><option value="17" >-- Role Playing</option><option value="29" >-- Webgames</option><option value="33" >-- Wargames</option><option value="61" >-- Game Editing</option><option value="100" >-- LAN Parties</option><option value="94" >-- Emulators</option><option value="145" >-- BlackNova</option><option value="5" > Technology</option><option value="9" >-- Technology</option><option value="23" selected>-- Webmaster</option><option value="24" >-- Security</option><option value="25" >-- Programming</option><option value="32" >-- Unix</option><option value="34" >-- Nets / Comms</option><option value="36" >-- Science</option><option value="86" >-- Wireless</option><option value="85" >-- HW Tweaking</option><option value="105" >-- MS Apps / OS</option><option value="108" >-- Mac</option><option value="113" >-- Audio / Visual</option><option value="28" > Education</option><option value="96" >-- College Work</option><option value="97" >-- College Play</option><option value="107" >-- Leaving Cert</option><option value="48" >-- Tipp Inst</option><option value="6" > Classifieds</option><option value="10" >-- Work</option><option value="11" >-- For Sale</option><option value="87" >-- Wanted</option><option value="38" >-- Accommodation</option><option value="1" > Music / Radio</option><option value="20" >-- Music / Radio</option><option value="124" >-- Gigs / Events</option><option value="125" >-- Instruments</option><option value="126" >-- Dance / Electronic</option><option value="137" >-- Rock / Metal</option><option value="42" > Sport</option><option value="8" >-- Sport</option><option value="151" >-- Soccer</option><option value="152" >-- Rugby</option><option value="80" > Community</option><option value="41" >-- Public</option><option value="43" >---- Belvedere</option><option value="44" >---- CTYI</option><option value="60" >---- IrelandOFFLine</option><option value="62" >---- Angling</option><option value="77" >---- Bubbles</option><option value="92" >---- Torc Interactive</option><option value="101" >---- Open Web Talk</option><option value="110" >---- Irish Everquest</option><option value="116" >---- Gardening</option><option value="118" >---- BattleTech</option><option value="120" >---- Comics</option><option value="64" >---- Phantom FM</option><option value="68" >---- XFM</option><option value="136" >---- Pro Wrestling</option><option value="141" >---- OpFlash</option><option value="144" >---- Couriers</option><option value="156" >---- Sein Wars</option><option value="39" >-- Private</option><option value="128" >---- *********s</option><option value="40" >-- ICDG</option><option value="54" >---- Cable / MMDS / Broadband</option><option value="55" >---- Satellite</option><option value="56" >---- Terrestrial</option><option value="58" >---- Broadcasting</option><option value="57" >---- ICDG</option>
    
    	</select><!-- go button -->
    

    this is the code used for the forum selector below, you should be able to modify it to do what you want.


  • Registered Users, Registered Users 2 Posts: 14,761 ✭✭✭✭Winters


    Go to http://www.javascriptsource.com you will find the script your looking for in there. I have got a few scripts from the site and they work well :D


  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    i sorted it out

    changed my ways to 3 combo box selction thingy

    why ?

    cos i found it at

    http://www.wsabstract.com/script/script2/triplecombo.shtml

    happy days


Advertisement