|
How to change values in a function MM_goToURL()
I currently have the following:
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
How do I change the above function to take the value from the selected option below:
<form id="form2" name="form2" method="post" action="">
<select name="select2" class="style11" id="select2" onchange="MM_goToURL('parent.frames[\'mainFrame\']','../FlashSlideShows/Famille_Joseph_Aurore/Flash_WEB/Al_Noella.html');return document.MM_returnValue">
<option value="Null">Please Select SlideShow</option>
<option value="../FlashSlideShows/Famille_Joseph_Aurore/Flash_WEB/Joseph_Aurore.html">Joseph</option>
<option value="../FlashSlideShows/Famille_Joseph_Aurore/Short_Version/Famille_Leblond.html">Familly Photos</option>
</select>
</form>
Last edited by curiousmen; 02-12-2009 at 03:34 PM..
|