ash ♥
[M:-580][M:-580]
Posts: 1,054
|
Post by ash ♥ on Feb 3, 2006 20:08:57 GMT -5
This will add a drop down menu of songs that your members can click on to play different tracks of music. Place the code anywhere you want the drop down menu to appear.
<script language="JavaScript"> function playMusic(musicUrl) { musicwin = window.open("","music","height=300,width=300"); musicwin.location.reload(); musicwin.document.write('<html><body bgcolor="000000" text="f5f5f5"><font size="3">Music Window</font><embed src="'+musicUrl+'"><noembed><bgsound="'+musicUrl+'"></noembed></body></html>'); } </script>
<form name="music"> <select onChange="playMusic(this.options[this.selectedIndex].value);"> <option>Select Music <option value="URL of music"> Name of First Song <option value="URL of music"> Name of Second Song <option value="URL of music"> Name of Third Song </select>
|
|
|
Post by rashmin on Feb 5, 2006 0:52:33 GMT -5
Hey Thanks, I needed this code
|
|
ash ♥
[M:-580][M:-580]
Posts: 1,054
|
Post by ash ♥ on Feb 5, 2006 0:58:59 GMT -5
No problem!
|
|
|
Post by hawa on Feb 9, 2008 12:37:10 GMT -5
This helped me sososo much, i was looking for it everywhere. thanks =)
|
|