</head>
<script type="text/javascript" language="javascript">
<!--
function menuChange(obj,menu)
{
if(menu.style.display=="")
{
obj.background="images/admin_title_bg_hide.gif";
menu.style.display="none";
}else{
obj.background="images/admin_title_bg_show.gif";
menu.style.display="";
}
}
function openn(){
window.open('admin_col_print.aspx','newwindow','height=600,width=550,top=50,left=200,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no') ;
}
function proLoadimg()
{
var i=new Image;
i.src='images/admin_title_bg_hide.gif';
i.src='images/admin_title_bg_show.gif';
}
proLoadimg();
-->
</script>
<script language="javascript">
function showhidden(id)
{ var temp;
temp="img"+id;
temp1="ospan"+id;
var s,t;
t=document.getElementById(temp1);
s=document.getElementById(temp);
if(t.style.display!="none")
{
s.src="images/open.JPG";
t.style.display="none";
}
else
{s.src="images/close.JPG";
t.style.display="block";
}
}
</script>
<body id="s">
<%do while not objrs.eof %>
<table width="785" align="center">
<tr>
<td width="513" height="27" bgcolor="#999999" onClick="menuChange(this,menu7);"onMouseOver="this.className='menu_title2';" onMouseOut="this.className='menu_title';">srfsdf;</td>
</tr>
<tr>
<td >
<div class="sec_menu" style="width:779px;" id="menu7">
<table width="779" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="493" height="55" valign="top" bgcolor="#FFCC00">程序制作:蓝鲸网</td>
</tr>
</table>
</div></td>
</tr>
</table><br>
<%objrs.movenext
loop
objrs.close
set objrs=nothing%>
<table width="707" border="1">
<tr>
<td height="49"></td>
</tr>
</table>
怎么写才能让 menu的个数也跟着增加啊??
我一循环 表格是增加了可是 menu1 还是 menu1它不增加啊这样就出错了 谁给我看看啊 求助!!!!!!!