Does anyone know the code to make a dropdown menu where the selection automaticly forwards to that specific page? Example: nti.nl/NTinternet
I copy and pasted the following code from the source files of that site, but it is not working for me </select><select name="niveau" onchange="__doPostBack('niveau','')" language="javascript" id="niveau" class="inputhp"> <option value="Zoek op niveau">Zoek op niveau</option> <option value="/NTInternet/Cursussen/">Cursussen</option> <option value="/NTInternet/MBO/">MBO</option> <option value="/NTInternet/HBO/">HBO</option> <option value="/NTInternet/University/">Universitair</option> Code (markup):
Here's a short explanation on how it works, you need a little more then just the bit you copied: http://www.quirksmode.org/js/select.html
Not sure if this will help - I usually just use what's in Dreamweaver, it writes pretty clean and functional code... Here's your dropdown: Then here's the script you need either on the page or in an external .js file that you call from your page.