Now I have 3 flash movies.I want to create a dropdown menu to select what movie i want to play.And the movie will be played below of menu.any solution for it
thanks
thanks
id="video_container"
<style type="text/css">
<!--
.style20 {font-size: 9px}
-->
</style>
<!--
<SCRIPT LANGUAGE="JavaScript"
TYPE="text/javascript">
funtion change(node) {
var video = document.getElementById('video_container');
video[i].src = "flash/video" + node.value + ".swf";
}
//-->
</SCRIPT>
<table border="0" cellspacing="2">
<tr><br /><br /><br /><br /><br /><br /></tr> <tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
<td style="padding-left:15px;"><p align="left"><span class="style20"><strong>Lastest News</strong> |
Download here</span> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td width="41"><a href="index.php?l1=161&l2=171"><img src="img/careers.jpg" alt="ee" width="41" height="34" border="0" /></a></td>
<td style="padding-left:15px;"><a href="index.php?l1=161&l2=171" class="tablink"><b>Career</b> | Apply now!</a></td>
</tr>
</table></td>
</tr>
<tr>
<td ><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video</td>
<td><select name="select" id=numpage onChange="change(this)">
<option value="0">VFM - ad</option>
<option value="1">VFM - Introduction</option>
<option value="2">VFM - VietNam: The potential market</option>
</select>
</td>
</tr>
</table>
<param name="quality" value="high" />
<embed id="video_container"
src="flash/video0.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="270" height="250"></embed>
</tr>
</table>
Comment