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 (1 - 4)
Eryi
post Nov 25 2005, 12:22 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 4,591
Joined: Dec 2004
Member No: 77,305



I suggest you use a different music playlist.
 
talcumpowder
post Nov 25 2005, 12:29 PM
Post #3


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Works fine for me, you just have to wait for each song to load.
 
xscore
post Nov 25 2005, 10:45 PM
Post #4


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

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



^ oh really?
haha thank you!
 
talcumpowder
post Nov 26 2005, 12:14 AM
Post #5


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



M'hm. But it doesn't work in Firefox/Mozilla because... The javascript isn't quite supported.
-> Topic Closed.
 

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