loyaliser
asked on
auto refresh frame
i have this code in the html page for the top frame:
<script language="JavaScript">
<!--
function reloadFrame() {
parent.frames[1].location. reload();
}
setTimeout("reloadFrame(1) ", 10);
//-->
</script>
what it is supposed to do is refresh the bottom frame every 10 seconds.
i am running IE 6.0, and i keep getting a javascript error saying PERMISSION DENIED or ACCESS DENIED.
what's the deal? is it not possible to refresh a another frame every 10 seconds from another frame?
thanks...
<script language="JavaScript">
<!--
function reloadFrame() {
parent.frames[1].location.
}
setTimeout("reloadFrame(1)
//-->
</script>
what it is supposed to do is refresh the bottom frame every 10 seconds.
i am running IE 6.0, and i keep getting a javascript error saying PERMISSION DENIED or ACCESS DENIED.
what's the deal? is it not possible to refresh a another frame every 10 seconds from another frame?
thanks...
You must be trying to refresh cross-domain. That creates a security problem. You cannot script across domains.
Cd&
Cd&
ASKER
yes, i am actually... the pages i created with the script load up another web site's page in another frame.
so this is a problem? it cannot be done in javascript, vbscript at all?
thanks.
so this is a problem? it cannot be done in javascript, vbscript at all?
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry there was no real solution for you. Thanks for the A. :^)
Cd&
Cd&
ASKER
<script language="JavaScript">
<!--
function reloadFrame() {
parent.frames[1].location.
}
setTimeout("reloadFrame()"
//-->
</script>