Music drop-down menu script, ...? |
Music drop-down menu script, ...? |
Jul 29 2004, 09:25 PM
Post
#1
|
|
![]() bio-degratable hands ![]() ![]() ![]() ![]() Group: Member Posts: 132 Joined: Jul 2004 Member No: 33,587 |
I have seen this code in the scripts area before, but its gone now
|
|
|
|
![]() |
Jul 29 2004, 09:35 PM
Post
#2
|
|
![]() hi, my name is brianna! =] ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,764 Joined: Jun 2004 Member No: 22,114 |
It's there:
http://www.createblog.com/forums/index.php?showtopic=6483 --------------------------------------- Description: With this code, you can allow your users to select a song through links. Example: Click here for a working example Copy and paste wherever you want your playlist to appear (in custom header if you want it on top, or in the website stats if you want it in the bottom of your xanga). CODEBOX: -> right click -> copy/paste 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 --> You can add more links by adding more of the following: CODEBOX: -> right click -> copy/paste CODE <!-- begin code provided by createblog.com --> <a href = "javascript:PlaySong('http://SONG URL')" title="Song title - Artist">Song #</a> <!-- end code provided by createblog.com --> If you're good, you can edit the code where appropriate to format the appearance of your playlist. If you want a certain song to start playing automatically, use this code: CODEBOX: -> right click -> copy/paste CODE <!-- begin code provided by createblog.com --> <embed src="http://SONG URL" hidden=true autostart=true> <noembed> <bgsound src="http://SONG URL"> </noembed> <!-- end code provided by createblog.com --> You can find a lot of music (that should work with this code) from Xanga_Music -- xquizit |
|
|
|
deadroses89 Music drop-down menu script Jul 29 2004, 09:25 PM
deadroses89 QUOTE(sweetxsimplicity @ Jul 29 2004, 9:35 PM... Jul 29 2004, 10:00 PM
sweetxsimplicity That is the drop-down menu where you select the so... Jul 29 2004, 10:03 PM
deadroses89 QUOTE(sweetxsimplicity @ Jul 29 2004, 10:03 P... Jul 29 2004, 10:07 PM
LatinaLady i have it
changeit to be for you its the sameone ... Jul 29 2004, 10:14 PM
swtaznpride i know this is not t a rite topic but how did u pu... Jul 29 2004, 10:18 PM
deadroses89 QUOTE(LatinaLady96 @ Jul 29 2004, 10:14 PM)i ... Jul 29 2004, 10:24 PM![]() ![]() |