It does have something to do with the containing table. So much of your mark-up is invalid though. I was able to get it to work properly only by removing the table. I was unable to find a way to fix the table. There may be some way. I did not take the time to rewrite the page using all valid HTML as, even that might not fix it. The external marquee page is also invalid but, this does not appear to be the problem. I also noticed that if the iframe were reloaded, it worked OK. This can be done using an additional script on the top page -
First give the iframe a name:
Code:
<p align="center"><iframe name='mframe' framespacing=0 frameborder=0 scrolling=no src='http://msgboard.digicode.nl/app/display.php?board=12&bgcolor=000000&link=FFFFFF&lines=1&layout=3' height='25' width='300'></iframe></p>
Then put this script at the end of the page, just before the </body> tag:
Code:
<script type="text/javascript">
function liframe(){
window.frames['mframe'].location.href=iloc;
}
if ( typeof window.attachEvent != "undefined" ) {
var iloc=window.frames['mframe'].location.href;
window.frames['mframe'].location.href='about:blank';
window.attachEvent( "onload", liframe );
}
</script>
For the most part this will only do anything in IE. If some other browser does execute it, it shouldn't cause any problem in that browser.
Bookmarks