rgarimella
asked on
Frame Style Display
Hi Folks,
I have the following code () which works fine on a webserver i.e no error but locally I get the following error
top.document.all.Navigatio n.style is null or not an object.
top.document.all.Navigatio n.style.di splay = 'none'; // Works on webserver
Here is how i have my frame set defined.
<frameset rows="100%,*" frameborder="no" border="0" framespacing="no" >
<frame src="ca_16_01_0010.htm" name="Content" title="Main Content" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMEBORDER="no" BORDER="0" noresize>
<frame src="bottomnav01.htm" name="Navigation" title="Navigation" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMEBORDER="no" BORDER="0" noresize>
</frameset>
I have the following code () which works fine on a webserver i.e no error but locally I get the following error
top.document.all.Navigatio
top.document.all.Navigatio
Here is how i have my frame set defined.
<frameset rows="100%,*" frameborder="no" border="0" framespacing="no" >
<frame src="ca_16_01_0010.htm" name="Content" title="Main Content" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMEBORDER="no" BORDER="0" noresize>
<frame src="bottomnav01.htm" name="Navigation" title="Navigation" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMEBORDER="no" BORDER="0" noresize>
</frameset>
top.document.all.Navigation.style.display = 'none';
ASKER
No Same error, is null or not an object
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<frame src="bottomnav01.htm" name="Navigation" title="Navigation" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMEBORDER="no" BORDER="0" noresize>
window.frames['Navigation'