Click to See Complete Forum and Search --> : Help with jumpmenu function


stickmorgan
11-24-2009, 06:29 AM
I created a web page in Dreamweaver for my church. with the intent is to play selected videos without changing windows by allow the viewer to select from a list of videos. (note - only the "Sermons" menu and Pastor Keith submenu are programed yet with sample videos).

the initial video plays fines, but how do I tell the jumpmenu function to play the selected video in the same area as the initial video.

It is probably a very simple fix but I have no knowledge of html or javascript code.

Thanks for any help from anyone



function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;


<div id="Video">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="342" height="291" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="scale" value="noscale">
<param name="salign" value="lt">
<param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_3&amp;streamName=FLV/howgreatisourgod.flv&amp;autoPlay=false&amp;autoRewind=false" />
<param name="swfversion" value="8,0,0,0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="342" height="291">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="scale" value="noscale">
<param name="salign" value="lt">
<param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_3&amp;streamName=FLV/howgreatisourgod.flv&amp;autoPlay=false&amp;autoRewind=false" />
<param name="swfversion" value="8,0,0,0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>


<div id="PastorKeithVideos">
<form name="form" id="form">
<select name="jumpMenu" size="1" id="jumpMenu" onChange="MM_jumpMenu('parent',mmovie,0)">
<option value="HowGreatIsOurGod.flv">How Great Is Our God</option>
<option value="GentleOnMyMind.flv">Gentle On My Mind</option>

</select>

</form>