PDA

View Full Version : Select box for navigating, sending emails, etc.



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

molendijk
03-19-2008, 10:58 PM
Script updated. It's possible now to execute functions when an option is clicked on.

Arie M.

matthewbluewars
04-10-2008, 09:51 PM
I think it's pretty good.

molendijk
04-13-2008, 09:11 PM
I think it's pretty good.
Thanks, Arie M.