Sound clip needs to load last

L

Les Juby

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.
 
R

Randy Webb

Les Juby said the following on 10/2/2005 11:27 PM:
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.

OK, then load it last, after the page has loaded, via the onload attribute.
Simply declaring it at page bottom doesn't help much. Tried a few
code snips found here and there but with lirrle success.

Did you try the resource that you were pointed to the last time you
asked this same exacty question (3 days ago no less).
Pretty bog standard coding, and the requirement is for IE-6
compatibility minimum.

Any suggestions please.?

Yes. Several:

1) Read the reply to the last time you asked this.
2) Attempt to read replies to you before reposting the same exact question.
3) Barring that, RTFM.
 
B

BootNic

Les Juby said:
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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top