Hello have this bit of code that shows a loading gif then after X amount of seconds shows a image.
What I would like to do is 2 different things
1) load more then image but only use one loading gif. and the images could have hyper links making them clickable
2) make it so it loads certain content between div tags.
here is the part I have got so far
Code:
<script type="text/javascript">
<!--
document.write('<img id="img1" src="loading.gif" />');
//-->
</script>
<noscript>
<img src="pic1.gif" />
</noscript>
<script type="text/javascript">
<!--
function showimage() {
document.getElementById("img1").src="pic1.jpg";
}
setTimeout("showimage();", 5000); //-->
</script>
|