Forum Moderators: open
<head>
<script type="text/javascript" language="javascript">
function breakout() {
if (top.location.href!= location.href) {
top.location.href = location.href;
}
}
</script>
</head>
<body onload="breakout();return true">
....
but IE7 is apparently ignoring the call and the frameset gets corrupted.
Any ideas?
Also, you can (should, but don't really NEED to) delete LANGUAGE="JAVASCRIPT"
<head>
<script type="text/javascript">
function breakout() {
if (top.location.href!= location.href) {
top.location.href = location.href;
}
return true;
}
</script>
</head>
<body onload="breakout();">
if (top.location.href!= location.href) {
top.location.href = location.href;
}
Try this instead:
if (window!=top) top.location=window.location;
[edited by: Achernar at 10:20 am (utc) on Oct. 24, 2007]