Hi, i’m back again, this time with a harder question. i have searched the forums but i haven’t found a solution for this problem that will work with me.
What i want to do is hide the frame named Subcart when a particular page (ShoppingCart.html) is loaded up in the [B]main
This is the Framset page (the top page), (sorry about indent):
<frameset rows=”25%, 55%, *” frameborder=”0″ border=”0″ framespacing=”0″>
<frame name=”topFrame” scrolling=”no” noresize src=”pages/logo.htm”>
<frameset cols=”190,
<frameset>
<frame scrolling=”NO” src=”pages/nav.htm” noresize>
<frame name=”[B]main
</frameset>
<frame name=”[B]Subcart
</frameset>
</frameset>
This is the hide page function in the ShoppingCart.html page:
function loadform()
{
//parent.myFrameset.cols=”0%”;
top.hideFrame(“Subcart”);
//top.hideFrame(“Subcart.html”);
//top.Subcart.rows = “0%”;
}
As you can see i have tried different methods (the syntax is most likey wrong, i just looked around on different sites., but all in vain. I thought the [B]top.hideFrame(“Subcart”);[B]Object doesn’t support this property or method
Any suggestions?
Thanks in advance.