I have an exit button on a page that takes up the bottom frame of a frames page. When its clicked, I want the main page to show up, but instead of taking up the whole screen, it just shows up in the bottom frame. Any way around this?
I ended up using this javascript to get it to work:
<script language="JavaScript">
if (top != self) {
top.location = location
}
</script>
I tried a similar way to what you suggested, but I'm using asp.net, and with the new code behind it utilizes, it makes using buttons a little trickier.
Thanks for the response though, I appreciate it and its good to see different ways to tackle the same problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.