How to have a URL break out of the forges frame

If you have any 'mechanical' forge related issues/suggestions, pop them in here.
Post Reply
User avatar
Matthew Schultz
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Aug 18, 2005 12:46 am
Location: California
Contact:

How to have a URL break out of the forges frame

Post by Matthew Schultz » 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:

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.
Joomla & Mambo News, Downloads...
www.primakoala.com

Post Reply