Get Out of Frames

Only the browser can determine where the page will display. So, how do you from ASP direct a page to load at the top of the browser?

Simply send the following script to the browser and let it to the work for you.

<%
 Response.Write "<script>top.location='newpage.asp'</script>"
 %>


asp break out of frames frames breakout samples source code tips ASP


Back To Top
© 1998 - 2024 psacake.com
Version 7.21 | Advertise on this site