<div id=show1 style="position:absolute;z-index:2;width:250;border-style:double;border-color:#FF66FF;background-color:#FFCCFF; visibility:hidden" align=left>dfgsdfgdfgsdgdfg</div><div id=show2 style="position:absolute;z-index:2;width:250;border-style:double;border-color:#FF66FF;background-color:#FFCCFF; visibility:hidden" align=left>北京天安门</div>
<p>5<p5><p><p><p>
<input type=button value=show1 onclick=show1.style.visibility="visible">
<input type=button value=show2 onclick=show2.style.visibility="visible">
<input type=button value=hideall onclick=show1.style.visibility="hidden",show2.style.visibility="hidden">
<p>5<p5><p><p><p>
<input type=button value=show1 onclick=show1.style.visibility="visible">
<input type=button value=show2 onclick=show2.style.visibility="visible">
<input type=button value=hideall onclick=show1.style.visibility="hidden",show2.style.visibility="hidden">
<p>5<p5><p><p><p>
<input type=button value=show1 onclick=show1.style.visibility="visible">
<input type=button value=show2 onclick=show2.style.visibility="visible">
<input type=button value=hideall onclick=show1.style.visibility="hidden",show2.style.visibility="hidden">
<img id=div2 border="0" src="http://www.csdn.net/images/ad/vsnet_120.gif" width="150" height="70" style="position: absolute; left: 282; top: 4; visibility: hidden">
<input type=button value="显示层1图片" onclick="div1.style.visibility='visible';div2.style.visibility='hidden'">
<input type=button value="显示层2图片" onclick="div1.style.visibility='hidden';div2.style.visibility='visible'">
用这个可以让层隐藏 层的id.style.visibility="hidden"(visible显示);
点击“选择商品名称”和"选择核算单位"切换层。<html>
<HEAD>
<style>
.zybutton{font-size: 11pt; color: rgb(0,0,255); font-weight: bold}
body,td,input,select,textarea {font-family:宋体;font-size:9pt;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb_2312-80">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>订货品种比例图(按品种汇总)</title>
<base target="contents">
</HEAD>
<BODY topmargin="0" leftmargin="0" bgcolor="#D7E9F6">
<table width=100% height="100%" cellspacing=5>
<tr><td width=20% valign=top>
<fieldset><legend align="center"><font color=red>控制拦</font></legend>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td colspan="2">
<select size=1 style="width:100%" name="select_item" onchange="select_change();" >
<option value="1" >订货频度图(按日汇总)</option>
<option value="2" >订货月比较图(按月汇总)</option>
<option value="3" >同期订货比较图</option>
<option value="4" selected
>订货品种比例图(按品种汇总)</option>
<option value="5" >同期订货品种比较图</option>
<option value="6" >订货综合分析</option>
</select>
<tr><td colspan="2">
<hr>
<tr><td colspan="2" align="center">
<input type=button style="width:98%" name="cbutton" class="box" value="选择商品名称" onclick=" if(goodstab.style.display=='none'){goodstab.style.display='block';
checkstab.style.display='none';
this.innerText='选择核算单位';legbs.innerText='商品名称选择栏';}else{goodstab.style.display='none';
checkstab.style.display='block';this.innerText='选择商品名称';legbs.innerText='订货品种比例图(按品种汇总)条件选择栏';
}"><tr><td colspan="2">
<hr>
<tr><td align="center">
<input type=button style="width:95%" name="qx_button" class="box" onclick="report_button_onclick();" value="生成报表" ><td align="center">
<input type=button style="width:95%" name="applet_button" class="box" onclick="applet_button_onclick();" value="生成图形" ><tr><td colspan="2">
<hr>
<tr><td align="center">
<input type=button style="width:95%" name="qx_button" class="box" onclick="print_onclick();" value="打印报表" >
<td align="center">
<input type=button style="width:95%" name="excel_button" class="box" onclick="excel_button_onclick();" value="生成EXCEL" ><tr><td></table>
</fieldset>
<td>
<fieldset><font color=red><legend id="legbs">订货品种比例图(按品种汇总)条件选择栏</legend></font><table width=100% id="checkstab" style="display:block;">
<tr><td width=100% nowrap>选择核算单位: <input type="hidden" name="checkid" value="000">
<input type=text name="checkname" value="总部" class="g_box" readonly size=20 maxlength=100 >
<input type=button class="box" name="sel_checks" onclick="select_check();" value="选择单位"> <input type="hidden" name="type">
<input type="hidden" name="tag">
<input type="hidden" name="master">
订货年份: 从
<input type="text" class="g_box" name="fromyear" value=2002 size="4" maxlength="4">年
<input type="text" class="g_box" name="frommonth" value="4" size="2" maxlength="2">月
<input type="text" class="g_box" name="fromday" value="15" size="2" maxlength="2">日
<tr><td align=left>
<input type=button name="b_add" class="box" onclick="b_add_onclick();" value="↓↓">
<input type=button name="b_remove" class="box" onclick="b_remove_onclick();" value="↑↑">
<input type=button name="b_removeall" class="box" onclick="b_removeall_onclick();" value="全部清除">
到 <input type="text" class="g_box" name="toyear" value=2002 size="4" maxlength="4">年
<input type="text" name="tomonth" class="g_box" value="4" size="2" maxlength="2">月
<input type="text" name="today" class="g_box" value="15" size="2" maxlength="2">日
<tr><td width=100%><select size=4 style="width:100%;" name="sxtjhz">
</select>
</table> <table id=goodstab style="display:none;">
<tr><td nowrap><input type=checkbox name="goodszd0" checked value="1"> dfgds <td nowrap><input type=checkbox name="goodszd1" checked value="2"> 34dsa <td nowrap><input type=checkbox name="goodszd2" checked value="45tf"> sdf <td><input type=button name="sel_all_no" value="全不选" class="box" onclick="sel_all_no_onclick();">
</table>
</fieldset>
<tr><td colspan=2 height=100% width=100%><IFRAME align=center VALIGN=top MARGINWIDTH=0 FRAMEBORDER=1 id="if11" name="if1"
SRC="frmiddle.htm" height="100%" width="100%"></iframe>
</table>
</BODY>
<script language="javascript"></script>
</html>