Log In · Register

 
music code, help me, you html gurus
xscore
post Nov 25 2005, 12:13 PM
Post #1


i'm 11,386. back off BITCHES!!
******

Group: Member
Posts: 1,596
Joined: Apr 2004
Member No: 11,386



here's my xanga.


here's the script

and here's the script that i modified with my songs in it.

QUOTE
<!-- begin code provided by createblog.com -->
<script>
function PlaySong(name)
{
  var text =
  "<embed src = \"" + name + "\" type = \"audio/x-bmx\" " +
  "backcolor = \"200, 200, 200\" " +
  "scrollspeed = 0 " +
  "infocolor = \"0, 140, 200\" " +
  "width = 0 height = 0" +
  ">";
  if (document.all)
  {
    // Internet explorer
    document.all.Plugin.innerHTML = text;
  }
  else
  {
    // Netscape
    document.Plugin.document.write(text);
    document.Plugin.document.close();
  }
}
</script>
<div ID="Plugin"><embed src="http://www.gwebspace.de/hahamysock/Tears.mp3" hidden=true autostart=true>
<noembed>
<bgsound src="http://www.gwebspace.de/hahamysock/Tears.mp3">
</noembed></div>
<!-- end code provided by createblog.com -->


<div ID = "PlayList">
Choose your song:
<a href = "java script:PlaySong('http://www.gwebspace.de/hahamysock/quartztrack4.wma')" title="Track 4">1</a>
<a href = "java script:PlaySong('http://www.gwebspace.de/hahamysock/quartztrack1.mp3')" title="Track 1">2</a>
<a href = "java script:PlaySong('http://www.gwebspace.de/hahamysock/quartztrack3.mp3')" title="Track 3">3</a>
<a href = "java script:PlaySong('http://www.gwebspace.de/hahamysock/Tears.mp3')" title="Tears">4</a>
| <a href = "java script:PlaySong('#')" title="Mute Music">OFF</a>
</div>



and the music won't play when i click the links.

anyone have a solution?
 
 
Start new topic
Replies
xscore
post Nov 25 2005, 10:45 PM
Post #2


i'm 11,386. back off BITCHES!!
******

Group: Member
Posts: 1,596
Joined: Apr 2004
Member No: 11,386



^ oh really?
haha thank you!
 

Posts in this topic
xscore   music code   Nov 25 2005, 12:13 PM
Szeh   I suggest you use a different music playlist.   Nov 25 2005, 12:22 PM
fishcake-y   Works fine for me, you just have to wait for each ...   Nov 25 2005, 12:29 PM
xscore   ^ oh really? haha thank you!   Nov 25 2005, 10:45 PM
fishcake-y   M'hm. But it doesn't work in Firefox/Mozil...   Nov 26 2005, 12:14 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: