HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
2 embedded item
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
iana



Joined: 05 Nov 2004
Posts: 1

PostPosted: Fri Nov 05, 2004 4:42 am     2 embedded item Reply with quote

i wanna have 2 musics in my webby n want one to start automatically i know dats autostart=true n i want the other want to start wen the 1st music ends.. is it possible
Frank



Joined: 12 Oct 2004
Posts: 15
Location: Florida

PostPosted: Sat Nov 06, 2004 5:57 pm     Reply with quote

This has come up before here. I found some code but it only plays the same song over unless you re-access the page. Ill post the code and see if anyone can figure out how to play consecutive songs with it. It also only works with Msie browser.
You can also take the songs and record them to make one file. I can record them for you if wanted. Just send them to me or give me a site to go too.
I myself would like to know how to do it with Html instead of using some kind of Jukebox code.
Heres the code I found. Works with Ie only. I put Beatles songs in there. It does play but only repeats the same song instead of going on to the next one.

<script language="JavaScript">
var author="www.dseffects.com";
var DS_Musics=new Array();
DS_Musics[0]="BEATLES__ImLookingThroughYou.mid";
DS_Musics[1]="BEATLES__Nowhere_Man.mid";
DS_Musics[2]="BEATLES__You_Wont See_Me.mid";
DS_Musics[3]="BEATLES__Im_a_Loser.mid";
DS_Musics[4]="";
DS_Musics[5]="";
DS_Musics[6]="";
var i=0;
var musLen=0;
while(DS_Musics[i++]!="") musLen++;
var mus=DS_Musics[Math.floor(Math.random()*musLen)];
if(document.all)
document.write("<bgsound src=\""+mus+"\" loop=\"infinite\">");
</script>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial