Mitzrah's Get IT Right Column!! Getting Rid of Frames Updated : Tuesday, August 25, 1998 |
![]() |
I discovered this neat piece of JAVAscript right on the GeoCities front page, it is quite ingenious really, what it does is that if anyone links to your home page and their homepage has frames, it will automatically get rid of the frames for you. What happens next is that, all the frames will disappear, leaving your homepage to occupy the whole browser window! Selfish huh?! Cut and paste this code, this code should come very very early in the HTML document so that it cuts down the time it takes to execute the disappearing of the frames.
<script language="JavaScript">
<!--
if (window != window.top)
top.location.href = location.href;
// -->
</script>
Can you make it worth while for your visitors to visit your web pages instead of going to other online sources?
Notes from Alex:
If you found my guidance helpful, please drop a note by my guestbook! So I know that you have dropped by and benefitted from my efforts, it took me quite sometime to get these tutorial up! Click on home and then SIGN GUESTBOOK! I will also visit your homepage and will sign your guestbook too.
[ Emiri Nakayama | Sailor Mars, Rei | About Me | Photo Gallery ] |
![]() |
![]() |
LinkExchange Member | Free Home Pages at GeoCities |