PDA

View Full Version : javascript help


mfrail
10-28-2003, 09:44 PM
Ok ,,

I have a selection list.
And inside the selection list i want the item (when selected) to open to a new page. I know it sounds easy. But i also want the new page to be a certain size. And i looked through my java book and i have no idea on how to achieve this.

Any help would be great!

Thanks

mfrail
10-28-2003, 11:11 PM
Update ...

I got the thing working ...

But i dont want the first value (the title in my case) to do anything if clicked on. Right now it will open up a blank pop up window. Which is not what i want.

here is the code ..

<select name="newLocation" onChange ="PopUpName=window. open('','PopUpName',config='height=340,width=600,resizable=no,toolbar=0,scrollbars=1,status=1');PopU pName.location=options.value;">
<option value = "1"SELECTED>BCSL North</option>
<option value="michigan.html">Michigan</option>
<option value="3">Team</option>
<option value="4">Team</option>
<option value="5">Team</option>
<option value="6">Team</option>
<option value="7">Team</option>
<option value="8">Team</option>
<option value="9">Team</option>
</select>