PDA

View Full Version : need to know about this code (music)



aznboi678
09-23-2004, 05:47 PM
hey guy, i have this website where they have these music and you can pick them and click on play and they play. and i was wonderin, do you know the code for this...an example of what am talkin about is

geocities.com/yeuemmaimai20052000/hoanganh1.html

magicyte
07-08-2008, 06:43 PM
simple.


<a href="javascript:do_it()">SOME MUSIC TITLE</a><script language="JavaScript">function do_it(){document.getElementById('bg').src='that_music_title_source.wav';}</script><bgsound src="none.wav" volume="0" id="bg"></bgsound>

that should do it.

-magicyte