Log In · Register

 
request: playlist with links, need help..!
mriiiiiiii
post Nov 5 2004, 10:11 AM
Post #1


Member
**

Group: Member
Posts: 15
Joined: Nov 2004
Member No: 60,342



i wanted the kind of playlist that looks like this...:

Playlist:

Band1 - Song1
Band2 - Song2

in which the band...song... thing are links and ppl just click them and listen...does anyone can understand me?? cry.gif

i saw it once in a xanga site but i just can figure out the code...plz help!! pinch.gif
 
 
Start new topic
Replies
shortvi3tlaydee
post Nov 5 2004, 08:26 PM
Post #2


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



i think you want this:

CODE
<!-- 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"></div>
<div ID = "PlayList">
Choose your song:
<a href = "javascript:PlaySong('http://SONG URL 1')" title="Song title - Artist">1</a>
<a href = "javascript:PlaySong('http://SONG URL 2')" title="Song title - Artist">2</a>
<a href = "javascript:PlaySong('http://SONG URL 3')" title="Song title - Artist">3</a>
<a href = "javascript:PlaySong('http://SONG URL 4')" title="Song title - Artist">4</a>
| <a href = "javascript:PlaySong('#')" title="Mute Music">OFF</a>
</div>
<!-- end code provided by createblog.com -->


[[http://www.createblog.com/forums/index.php?showtopic=6483]]
 

Posts in this topic


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