Hallo allemaal
Onderstaande stukje script werkt op sommige servers wel en op andere niet wat doe ik fout?
<script type="text/javascript">
<!--
setTimeout('refresh()', 3000);
function refresh() {
window.frames['main'].location.href = 'http://www.domein/index.html';
setTimeout('refresh()', 3000);
}
//-->
</script>
</head>
<frameset rows="330,*">
<frame name="top" src="http://www.domein/index.html" SCROLLING="no" noresize marginheight="0" marginwidth="0" />
<frame name="main" src="http://www.domein/index.html" SCROLLING="no" />
</frameset>
Onderstaande stukje script werkt op sommige servers wel en op andere niet wat doe ik fout?
<script type="text/javascript">
<!--
setTimeout('refresh()', 3000);
function refresh() {
window.frames['main'].location.href = 'http://www.domein/index.html';
setTimeout('refresh()', 3000);
}
//-->
</script>
</head>
<frameset rows="330,*">
<frame name="top" src="http://www.domein/index.html" SCROLLING="no" noresize marginheight="0" marginwidth="0" />
<frame name="main" src="http://www.domein/index.html" SCROLLING="no" />
</frameset>