日期:2014-05-17 浏览次数:20713 次
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib uri="eaglelink" prefix="eaglelink"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <style> .menu1{background:#308EF8}; </style> <script language="javascript" src="<eaglelink:contextpath/>/html/js/jquery-1.3.2.min.js"></script> <script language="javascript"> //初始化时让菜单二层全部隐藏 $(document).ready(function(){ $(".menu1").siblings().hide(); }); </script> </head> <body> <table width="900" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="260" height="600" valign="top" bgcolor="#FFE4E1"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="menu1"> <td><div align="center">菜单1</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项a</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项b</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项c</div></td> </tr> </table> </td> </tr> <tr> <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="menu1"> <td><div align="center">菜单2</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项a</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项b</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项c</div></td> </tr> </table></td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="menu1"> <td><div align="center">菜单3</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项a</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项b</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项c</div></td> </tr> </table></td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="menu1"> <td><div align="center">菜单4</div></td> </tr> <tr> <td bgcolor="#FFFFCA"><div align="center">选项a</div></td