Log In · Register

 
Drop Down Music Player
ace
post Jun 14 2004, 12:30 AM
Post #1


Senior Member
****

Group: Member
Posts: 111
Joined: Jun 2004
Member No: 22,161



Ok, i have seen many codes for the music player....but i haven't found the right one for me yet.

anyone knows the script for the drop down menu music player with the play and stop button? you pick a song from the drop down list, and press play button to play it....stop button to stop.
 
 
Start new topic
Replies
ji_cabinx
post Jun 16 2004, 02:08 PM
Post #2


^_^
******

Group: Member
Posts: 1,666
Joined: Feb 2004
Member No: 4,225



here:
CODE
<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<script language="Javascript">
// background music with on/off trigger by micron
// for more xanga scripts and help go to createblog.com

// url to music (streaming files recommended)
var music = "http://www.xangaskins.com/modules/04/kenshin.asf";

function turnOFF(){
document.getElementById("musicText").innerHTML = "<a href=# onClick='turnON(); return false;'>OFF</a>";
}
function turnON(){
document.getElementById("musicText").innerHTML = "<a href=# onClick='turnOFF(); return false;'>ON</a><embed src="+ music +" autostart=true loop=true hidden=true style='display:none;'>";
}
document.write("music: <span id=musicText><a href=# onClick='turnOFF(); return false;'>ON</a><embed src="+ music +" autostart=true loop=true hidden=true style='display:none;'></span>");
</script>
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->


here! that should work! this is the actually url: Click here
 

Posts in this topic


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