molendijk
03-18-2008, 10:59 PM
1) CODE TITLE: Select box for navigation and other things
2) AUTHOR NAME/NOTES: Arie Molendijk
3) DESCRIPTION: With the help of a script written by Joe Crawford (http://lab.artlung.com/dropdown), a select box can be used as a tool for navigating to whatever you want: a new window, a frame of a frameset, an iframe, an email-window etc.
I modified certains things in the script in order to make it more 'intuitive', and added some lines for having javascript executed when the user clicks on an option.
You can easily customize it by adding more 'else ...ifs'. (But be aware of the function of the text preceding the 'pipe characters' in the options of the select box. The text must correspond exactly with what's in the if-statement).
(This is perhaps old stuff, but pretty handy nevertheless).
4) URL TO CODE: http://molendijk.110mb.com/selectboxCrossbrowser1/selectbox.html
2) AUTHOR NAME/NOTES: Arie Molendijk
3) DESCRIPTION: With the help of a script written by Joe Crawford (http://lab.artlung.com/dropdown), a select box can be used as a tool for navigating to whatever you want: a new window, a frame of a frameset, an iframe, an email-window etc.
I modified certains things in the script in order to make it more 'intuitive', and added some lines for having javascript executed when the user clicks on an option.
You can easily customize it by adding more 'else ...ifs'. (But be aware of the function of the text preceding the 'pipe characters' in the options of the select box. The text must correspond exactly with what's in the if-statement).
(This is perhaps old stuff, but pretty handy nevertheless).
4) URL TO CODE: http://molendijk.110mb.com/selectboxCrossbrowser1/selectbox.html