OTrap
Elite Member
- Jul 12, 2008
- 2,314
- 1,064
What I currently have is something like this:
However, I'm obviously missing something, as it reacts as though it's in an iframe, no matter what.
I have to be missing something, but I'm curious as to what.
PHP:
<?php
if ( window.self === window.top ) { ?>
<html>not in a frame</html>
<?php } else { ?>
<html>in a frame</html>
<?php } ?>
However, I'm obviously missing something, as it reacts as though it's in an iframe, no matter what.
I have to be missing something, but I'm curious as to what.