[thelist] Javascript: pulll-down-pop-up!

.jeff jeff at members.evolt.org
Thu Jan 17 00:48:36 CST 2002


malcolm,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Malcolm J. McAtee
>
> <script language="JavaScript">
> function openWindow(theURL,winName,features)
> window.open(theURL,winName,features);
> }
> </script>
>
>
>  <select name="theURL" onChange=
> "openWindow('','portfolio','width=600,height=400')">
>   <option value="#" selected>Completed Projects</option>
>   <option value="../project.html" >project .001</option>
>  </select>
> </form>
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

try this as the value of the argument passed to the openWindow() function
(without single-quotes around it):

this.options[this.selectedIndex].value

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list