How to have a URL break out of the forges frame
Posted: Tue Nov 15, 2005 12:24 am
With this javascript you can have your "Linked Application" break out of the frame the forge wraps around it. Somewhere in your websites tags and the following:
This will break the site out of its frame. Keep in mind any sites that may wrap you page will also be broken out of.
Code: Select all
<script language="JavaScript">
<!--
if (parent.frames.length > 0)
{
parent.location.href = location.href;
}
-->
</script>
This will break the site out of its frame. Keep in mind any sites that may wrap you page will also be broken out of.