Hi
I have a site that uses 3 frames:
banner - just a border at the top that does not do much
left - menu containing area
right - main content area.
I wish to put a link/button in the left frame that when clicked will remove the left and top frame and will just leave the current content of the right frame in the browser window.
In effect achieve the same as the commonly found script below but with out the need to put this or a link to it on every page.
Can anybody help?
purpleski
I have a site that uses 3 frames:
banner - just a border at the top that does not do much
left - menu containing area
right - main content area.
I wish to put a link/button in the left frame that when clicked will remove the left and top frame and will just leave the current content of the right frame in the browser window.
In effect achieve the same as the commonly found script below but with out the need to put this or a link to it on every page.
Code:
<!-- Begin
if(top.location.href != self.location.href)
document.writeln('<A HREF="'+self.location.href+'" TARGET="_top">No frames!</A>');
</script>
Can anybody help?
purpleski