> "Les Juby" <le*****@anti-spam.iafrica.com> wrote:
news:43**************@news.telkomsa.net....
Hi
A clint has insisted we load a babbling brook sound clip to his home
page but it needs to load last to avoid delays in loading images and
other elements.
Simply declaring it at page bottom doesn't help much. Tried a few
code snips found here and there but with lirrle success.
Pretty bog standard coding, and the requirement is for IE-6
compatibility minimum.
Any suggestions please.?
thanks
.les.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Load sound after page loads</title>
<script type="text/javascript">
window.onload=function sound(){
setTimeout("document.getElementById('sound').src=' soundClip.htm'",5000);
}
</script>
</head>
<body>
<iframe src="http://www.yahoo.com" style=
"width:100%; height:600px;"></iframe><br>
<iframe src="about
:blank" id="sound" height="45" width="300"
scrolling="no" frameborder="0" name="sound"></iframe>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Sound Clip</title>
<style type="text/css">
body{
margin: 0px;
padding:0px;
}
</style>
</head>
<body>
<embed src=
"http://www.mountaindragon.com/merchant/battleship/ocean2.wav"
autostart="true" loop="true" height="45" width="300">
</body>
</html>