<frameset name="myFrame" cols="199,7,*" frameborder="no" border="0" framespacing="0" >
    <frame src="leftframe.jsp" name="leftFrame" frameborder="no" scrolling="No" noresize="noresize"  />
	<frame src="switchframe.html" name="midFrame" frameborder="no" scrolling="No" noresize="noresize"  />
    <frameset rows="59,*" cols="*" frameborder="no" border="0" framespacing="0">
         <frame src="mainframe.html" name="mainFrame" frameborder="no" scrolling="No"  noresize="noresize"  />
         <frame src="fuwuqi.jsp" name="manFrame" frameborder="no"    />
     </frameset>
  </frameset>

  

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/common.css" type="text/css" />
<title>显示/隐藏左侧导航栏</title>
</head>
<script language="JavaScript">
	function Submit_onclick()
	{
		alert(window.parent.document.getElementById("myFrame").cols);
		if(window.parent.document.getElementById("myFrame").cols == "199,7,*") {
	        window.parent.document.getElementById("myFrame").cols ="0,7,*";
	        document.getElementById("ImgArrow").src="images/switch_right.gif";
	        document.getElementById("ImgArrow").alt="打开左侧导航栏";
	    } else {
	        window.parent.document.getElementById("myFrame").cols="199,7,*";
	        document.getElementById("ImgArrow").src="images/switch_left.gif";
	        document.getElementById("ImgArrow").alt="隐藏左侧导航栏";
	    }
	}
	window.onload=function()
	{
		if(window.parent.location.href.indexOf("MainUrl")>0) 
		{
			window.top.midFrame.document.getElementById("ImgArrow").src="images/switch_right.gif";
		}
	}
</script>
<body >
<div  /></a></div>
</body>
</html>

  

相关文章:

  • 2021-11-29
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-02-11
猜你喜欢
  • 2022-01-01
  • 2021-10-06
  • 2021-04-06
  • 2021-06-26
  • 2022-12-23
  • 2021-09-18
  • 2021-11-17
相关资源
相似解决方案