OK, I've got it. The onload is firing. The script tag is invalid:
Code:
<script type="javascript">
window.addEventListener('load', function(){
document.getElementById('preloader').style.display = 'none';
}, false);
</script>
Should be:
Code:
<script>
window.addEventListener('load', function(){
document.getElementById('preloader').style.display = 'none';
}, false);
</script>
The page does have other invalid code though, illegal nesting should probably be fixed, the outdated attributes on the iframe are probably harmless, and might actually be good for some browsers. Missing alt attributes on images are also optional fixes, as an empty alt attribute is valid. Those are mostly for people with screen readers (blind). So it's nice to have them. And they can be useful if an image fails to load.
Bookmarks