Help - Search - Members - Calendar
Full Version: what is the code for stop a song?
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
hidexhide
I would like to stop the song when pressing this button...
can i add a code into here?

<script Language="JavaScript">
tips = new Array(2);
tips[0] = "url";
tips[1] = "url";
index = Math.floor(Math.random() * tips.length);
document.write("<EMBED SRC=" + tips[index] + " autostart=true width=0 height=0 loop=true hidden=TRUE></EMBED>");
</script>
D1SMANTLED
I'm not really sure what you're talking about because I don't think you need any special code to turn off the music by clicking the button you mentioned.

Umm.. you can use this code...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.