Home
Portfolio
Code Library
back to list
Make the page auto-remove itself from all frames.
Insert the code below in the onLoad event and the page will refresh itself out until it is no longer contained in a frame.
JavaScript
if (parent.frames.length > 0) { parent.location.href = self.document.location }
Posted by fbrefere001 on Wednesday August 6, 2003