PDA

View Full Version : Using a drop down box to change values


Aichibo
12-16-2009, 11:54 AM
I have made a drop down menu to select certain values. In this case 50%, 75% etc.. to 200%. This is to select the zoom size for a video which I have put into the page.

The code for this video starts with:

<object classid="clsid:6F5A0B29-5C26-49A1-9462-4C9910F085F3" codebase="http://192.168.0.100/ICLAXPlayer.cab" width="720" height="576" id="ICLPlayer" events="True">

How can I get the value which I select in the drop down box ie: 100% to firstly correspond to 1024x768 and THEN be placed into the "width" and "height" parts respectively.

Thanks in advance