JS代码做的导航栏菜单.帮忙指点一下在那改打开链…
2008-02-23 09:36:27来源:互联网 阅读 ()
cellspacing='0' cellpadding='0' border='0' width='100%'
style='" mfonts "'><tr><td ";
if(thismenuitem.pos=="0"){
stringx = "><img align=absmiddle
src='" thismenuitem.img "'" imgsize ">" ifspace thismenuitem.caption "
</td><td";
}else if(thismenuitem.pos=="1"){
stringx =
">" thismenuitem.caption ifspace "<img align=absmiddle
src='" thismenuitem.img "'" imgsize "></td><td";
}else if(thismenuitem.pos=="2"){
stringx =
"background='" thismenuitem.img "'>" thismenuitem.caption "</td><td
background='" thismenuitem.img "'";
}else{
stringx =
">" thismenuitem.caption "</td><td";
}
stringx = " align=right
width='1'><font face='Webdings' style='font-size:
6pt'>4</font></td></tr></table></td></tr>\n";
}else if(!thismenuitem.isline){
stringx = "<tr><td class=coolButton
style='border: " mitemedge "px solid " mmenucolor
"' width=100% height=15px
onmouseover=\"mmenuitem_over(msubmenudiv" j
",false,-1," j "," i ");\"
onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";
stringx = "mmenuitem_up();mexec3
(" j "," i "); ";
if(thismenuitem.pos=="0"){
stringx = "><img align=absmiddle
src='" thismenuitem.img "'" imgsize ">" ifspace thismenuitem.caption "
</td></tr>";
}else if(thismenuitem.pos=="1"){
stringx =
">" thismenuitem.caption ifspace "<img align=absmiddle
src='" thismenuitem.img "'" imgsize "></td></tr>";
}else if(thismenuitem.pos=="2"){
stringx =
"background='" thismenuitem.img "'>" thismenuitem.caption "</td></tr>"
;
}else{
stringx =
">" thismenuitem.caption "</td></tr>";
}
}else{
stringx ='<tr><td height="1"
background="/images/hr.gif" onmousemove="clearTimeout
(mpopTimer);"><img height="1" width="1" src="none.gif"
border="0"></td></tr>\n';
}
}
stringx ='</table>\n</div>'
}
document.write("<div align='center'
id='JsMenuCSS'>" stringx "</div>");
}
mpmenu1=new mMenu('平台','#','self','','','','');
mpmenu2=new mMenu('系统管理','#','self','','','','');
mpmenu2.addItem(new mMenuItem(' 系统管理','glxz.PHP','self',false,'系统管理',null,'','','',''));
mpmenu3=new mMenu('小区管理','#','self','','','','');
mpmenu3.addItem(new mMenuItem(' 查看小区信息','ckxq.php','self',false,'查看小区信息',null,'','','',''));
mwritetodocument();
</script>
上一篇: Java Reflection (JAVA反射)详解
下一篇: read AppFuse 15-实践-建立Action续
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
下一篇:Eclipse快捷键大全
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash
