linuxisevolution
January 24th, 2009, 01:21 AM
I am working on a web site for Linux. I seem to have it almost finished, but the page never completely loads... Does it work for you?
http://www.linuxforums.tk/
EDIT: I think I fixed it. Before all I saw was:
<div id="preload" style="display: none;">
<img src="load.gif">
Loading... Watch the circle.
</div>
<script type="text/javascript">
// preloader
document.write('<div id="preloader" style="height: 100%;width: 100%;text-align: center;position: absolute;top: 0;z-index: 9000;"><span style="margin: 0 auto;">'+document.getElementById('preload').innerHTML+'</span></div>');
window.onload = function() {document.getElementById('preloader').style.displa y = 'none';}
</script>
It showed a spinning circle and said "watch the circle" LOL. Coding has it's humor ;)
http://www.linuxforums.tk/
EDIT: I think I fixed it. Before all I saw was:
<div id="preload" style="display: none;">
<img src="load.gif">
Loading... Watch the circle.
</div>
<script type="text/javascript">
// preloader
document.write('<div id="preloader" style="height: 100%;width: 100%;text-align: center;position: absolute;top: 0;z-index: 9000;"><span style="margin: 0 auto;">'+document.getElementById('preload').innerHTML+'</span></div>');
window.onload = function() {document.getElementById('preloader').style.displa y = 'none';}
</script>
It showed a spinning circle and said "watch the circle" LOL. Coding has it's humor ;)