I have read a few things in the past day that have confused me a great deal.
I had a script that works in IE 6.0 that will resize the frameset and basically "hide" my left menu frame. Then I went to NN6.2 and when I click the button, the whole browser closes. So then I began looking for a resolution....but to no avail.
Here are a couple of things I have tried:
top.document.body.cols = "10,*";
top.document.getElementById("Master").cols = "10,*";
Here is the Frameset:
<html>
<frameset id="Master" cols="184,*" frameborder="NO" border="1" framespacing="0" rows="*">
<frame name="MainMenu" scrolling="NO" src=http://www.webdeveloper.com/forum/archive/index.php/"MainMenuLeftFrame.jsp" frameborder="no">
<frame name="mainFrame" src="MainMenuMainFrame.jsp">
</frameset>
</html>
MainMenuMainFrame.jsp is actually a frameset of a top and bottom frame. From the top frame I am calling this:
function resize(element){
if (changesize != 1)
{
top.document.body.cols = "0,*";
changesize=1;
element.value=">>";
}
else
{
top.document.body.cols = "180,*";
changesize=0;
element.value="<<";
}
}
Any Help would be greatly appreciated........
I had a script that works in IE 6.0 that will resize the frameset and basically "hide" my left menu frame. Then I went to NN6.2 and when I click the button, the whole browser closes. So then I began looking for a resolution....but to no avail.
Here are a couple of things I have tried:
top.document.body.cols = "10,*";
top.document.getElementById("Master").cols = "10,*";
Here is the Frameset:
<html>
<frameset id="Master" cols="184,*" frameborder="NO" border="1" framespacing="0" rows="*">
<frame name="MainMenu" scrolling="NO" src=http://www.webdeveloper.com/forum/archive/index.php/"MainMenuLeftFrame.jsp" frameborder="no">
<frame name="mainFrame" src="MainMenuMainFrame.jsp">
</frameset>
</html>
MainMenuMainFrame.jsp is actually a frameset of a top and bottom frame. From the top frame I am calling this:
function resize(element){
if (changesize != 1)
{
top.document.body.cols = "0,*";
changesize=1;
element.value=">>";
}
else
{
top.document.body.cols = "180,*";
changesize=0;
element.value="<<";
}
}
Any Help would be greatly appreciated........