上一篇 | 下一篇 | 收藏此文 2007-3-10 02:35 作者: 来源: 查看: 393次
<!--菜单从这里开始, 注意要把class设置成和css里相同的, 还要为它设一个id--> <table class="xmenu" id="xmenu0" width="500" cellpadding="1" cellspacing="4" border="0" bgcolor="#00000" align="center"> <tr> <td><a href="http://www.butong.net" style="color:#FFFFFF">网站首页</a></td> <td><a href="http://www.butong.net/background/index.htm" style="color:#FFFFFF">背景特效</a></td> <td><a href="http://www.butong.net/moban/index.htm" style="color:#FFFFFF">整站模板</a></td> <td><a href="http://www.butong.net/navigation/index.htm" style="color:#FFFFFF">导航特效</a></td> <td><a href="http://www.butong.net/img/index.htm" style="color:#FFFFFF">图象特效</a></td> <td><a href="http://www.butong.net/text/index.htm" style="color:#FFFFFF">文本特效</a></td> </tr> </table> <script>attachXMenu(xmenu0); //在上面这个table结束的地方执行事件动作的绑定, 这里的这个xmenu0就是那个table的id</script>