martindavey
Programmer
Hi,
I'm attempting to break out of frames using the following code. However, I get permission denied.
How do I get round this?
<script language="javascript">
<!--
function fncBreakOutOfFrames() {
if (top.document.location.href != document.location.href) {
top.document.location.href = document.location.href;
}
}
//-->
</script>
</head>
<body onLoad="fncBreakOutOfFrames();">
I'm attempting to break out of frames using the following code. However, I get permission denied.
How do I get round this?
<script language="javascript">
<!--
function fncBreakOutOfFrames() {
if (top.document.location.href != document.location.href) {
top.document.location.href = document.location.href;
}
}
//-->
</script>
</head>
<body onLoad="fncBreakOutOfFrames();">