iframe的显示与隐藏??? parent.framesetName.rows = "0,*" 或者parent.framesetName.cols = "0,*" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <style>.SwitchClass{color:black;cursor:hand;font-family:webdings;font-size:9pt}</style><body><script language="javascript">function SwitchMenuStatus(){ if(SwitchMenu.innerText==3) { SwitchMenu.innerText=4; document.all("Menu").style.display="none"; } else { SwitchMenu.innerText=3; document.all("Menu").style.display=""; }}function OpenMenu(){ if(SwitchMenu.innerText==4) { SwitchMenu.innerText=3; document.all("Menu").style.display=""; } else { SwitchMenu.innerText=3; document.all("Menu").style.display=""; }}</script><table width="100%" border="1" cellpadding="3" cellspacing="0" height="100%" bordercolor="#EEEEEE" bordercolordark="#FFFFFF" bordercolorlight="#999999"> <tr> <td id=Menu name="Menu" vAlign=top align=left> <iframe src="about:blank" style="height:100%;visibility:inherit;width:100" border="0" frameborder=0></iframe> </td> <td width="5" height="100%" onmouseover="OpenMenu();"> <table border=0 cellPadding=0 cellSpacing=0> <tr> <td style="height: 100%" valign=middle onclick="SwitchMenuStatus();"> <span class=SwitchClass id=SwitchMenu title="关闭/打开菜单">3</span> </td> </tr> </table> </td> <td id=Home name="Home" vAlign=top align=left width="100%"> <iframe src="about:blank" style="height:100%;visibility:inherit;width:100%" border="0" frameborder=0></iframe> </td> <tr></table> 求一个用JS正则表达式写的计算器 如何写这个xpath html往js里头传参数? 如何添加动态table中的数据到数据库? javascript判断变量是否存在 问两个JS的小问题,谢谢大家 如何用javascript获得xml的属性值? IE10 下如何保证离开iframe窗口仍能保持选中区? 请教高手,js能实现这样的登陆页面吗,怎么做的 如何隐藏一个窗口 clearTimeout的一个小问题 cancelBubble和fromElement,toElement困惑了很久~~请解释一下,谢谢~~~~~~
.SwitchClass{color:black;cursor:hand;font-family:webdings;font-size:9pt}
</style>
<body>
<script language="javascript">
function SwitchMenuStatus()
{
if(SwitchMenu.innerText==3)
{
SwitchMenu.innerText=4;
document.all("Menu").style.display="none";
}
else
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
}
function OpenMenu()
{
if(SwitchMenu.innerText==4)
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
else
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
}</script>
<table width="100%" border="1" cellpadding="3" cellspacing="0" height="100%" bordercolor="#EEEEEE" bordercolordark="#FFFFFF" bordercolorlight="#999999">
<tr>
<td id=Menu name="Menu" vAlign=top align=left>
<iframe src="about:blank" style="height:100%;visibility:inherit;width:100" border="0" frameborder=0></iframe>
</td>
<td width="5" height="100%" onmouseover="OpenMenu();">
<table border=0 cellPadding=0 cellSpacing=0>
<tr>
<td style="height: 100%" valign=middle onclick="SwitchMenuStatus();">
<span class=SwitchClass id=SwitchMenu title="关闭/打开菜单">3</span>
</td>
</tr>
</table>
</td>
<td id=Home name="Home" vAlign=top align=left width="100%">
<iframe src="about:blank" style="height:100%;visibility:inherit;width:100%" border="0" frameborder=0></iframe>
</td>
<tr>
</table>