主题:续上:这里是一个隐式导航菜单的源代码,其中有一些不解之处请各位高手帮帮忙,有重谢!
var linktarget='new';
function navigateie(which){
if(linktarget==='')
window.location=thelink[which] //什么意思
else if(linktarget=='new')
window.open(thelink[which])
else{
temp_var=eval("window.parent."+linktarget);
temp_var.location=thelink[which];
}
}
for(i=0;i<=text.length-1;i++)
if(document.all){
document.write('<tr><td height=20 bgcolorwhite onclick="navigateie(+i+')" //什么意思
onmouseover="className=\'h1\'" onmouseout="className=\'n\'"><font size=2 face=arial> '+text[i]+'</font></td></tr>')
}
</script>
<tr>
<td bgcolor="#0099FF">
</td>
</tr>
</table>
<script language="javascript1.2">
if(document.all){
document.write('</div>');
}
window.onload=positionmenu //什么意思
</script>
</layer>
</body>
function navigateie(which){
if(linktarget==='')
window.location=thelink[which] //什么意思
else if(linktarget=='new')
window.open(thelink[which])
else{
temp_var=eval("window.parent."+linktarget);
temp_var.location=thelink[which];
}
}
for(i=0;i<=text.length-1;i++)
if(document.all){
document.write('<tr><td height=20 bgcolorwhite onclick="navigateie(+i+')" //什么意思
onmouseover="className=\'h1\'" onmouseout="className=\'n\'"><font size=2 face=arial> '+text[i]+'</font></td></tr>')
}
</script>
<tr>
<td bgcolor="#0099FF">
</td>
</tr>
</table>
<script language="javascript1.2">
if(document.all){
document.write('</div>');
}
window.onload=positionmenu //什么意思
</script>
</layer>
</body>