跳转菜单在新窗口打开

跳转菜单在新窗口打开

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

改成
function MM_jumpMenu(targ,selObj,restore){ //v3.0
window.open(selObj.options[selObj.selectedIndex].value,'','');
if (restore) selObj.selectedIndex=0;



 

你可能感兴趣的:(跳转)