摘要:Javascript:Frame Resize
<html>
<HEAD>
<script language="javascript">
function btnClick(obj){
if(obj.innerHTML == "←")
{
obj.innerHTML = "→";
parent.frameset2.cols="50,*";
}
else
{
obj.innerHTML = "←";
parent.frameset2.cols="150,*";
}
}
</script>
</HEAD>
<BODY topmargin="16" marginheight="16">
<div onclick="btnClick(this)">←</div>
<SCRIPT>initializeDocument()</SCRIPT>
<NOSCRIPT>
A tree for site navigation will open here if you enable JavaScript in your browser.
</NOSCRIPT>
</BODY>
</HTML>