Hello,
i make some test with this:
http://wiki.modxcms.com/index.php/Dropdown_Menu_with_Ditto
and i thing this JavaScript code in original:
<script language="JavaScript">
function jumpTo(selObj){
thevalue = selObj.options[selObj.selectedIndex].value;
if (thevalue != 0) window.location= thevalue;
return false
}
</script>
not work properly...(for me)
my change is:
<script language="JavaScript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
that work 100% and clean.
and make change in:
<select name="goto" onChange="jumpTo(this);">
with this:
<select name="goto" onChange="MM_jumpMenu('parent',this,0)">
Thanks,
have a nice December with SNOW!
Kristalin