i was wondering if anyone knows if u can have multiple songs for an xanga site like more then one song please help thanks and if u can please tell me how
<object id="darkplayer" codeBase="[Link](Mouse over link to see full location); type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="0">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#transparent; WIDTH: 150px; COLOR: #33666; font-face: verdana" name="playlist" size="1">
<option value="0">Song Title</option>
<option value="1">Song Title</option>
<option value="2">Song Title</option>
<option value="3">Song Title</option>
<option value="4">Song Title</option>
<option value="5">Song Title</option>
</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="Play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="Pause" OnClick="document.darkplayer.Pause(); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="Stop" OnClick="document.darkplayer.Stop(); playstate=2;"></p>
</form>
<script language="JavaScript">
<!--
var playstate = 1;
shuffle = 1; // set to 0 to always play first song in list
// set to 1 to randomly choose the first song to play
songs=new Array();
songs[0]="Song URL";
songs[1]="Song URL";
songs[2] ="Song URL ";
songs[3] ="Song URL"
songs[4] ="Song URL";
songs[5]="Song URL";
var randsg = Math.floor(Math.random()*songs.length);
document.darkplayer.FileName = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.darkplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>
<!-- end code provided by blogring.net -->
It works trust me
I have it on 2 of my xangas but if you want prove then check this xanga out
www.xanga.com/Dizuraznvi3tgurle3f3ry3w or
www.xanga.com/babyphatlongin4love
crimeXinXitaly answered Monday August 30 2004, 3:45 pm: You most certainly can have more than one. I actually like the code a lot better than one looping song because this way visitors to your site can
1. choose if they want to hear music
2. choose which song they want to hear.
You can steal the script from my page. ( I assume you have some understanding of html.) Simply go to www.xanga.com/operationsavestheday
Then click on view and source at the top of explorer. Find the music code (and any others you want) and copy and paste them.
Just replace my songs with the ones you want. Or even keep my songs...they are darn good ones if I do say so myself. [ crimeXinXitaly's advice column | Ask crimeXinXitaly A Question ]
<!-- Updated Playlist : Found at Blogring.net -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left"><b>Music</th></tr><tr><td valign="top" class="left"><font face="Chiller" style="font-variant: small-caps;" color="#cc0000" size=5><b>Music Player...</b></font>
<object id="CPplayer1" codeBase="[Link](Mouse over link to see full location); type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="1">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">
<select style="FONT-SIZE: 10pt; BACKGROUND:#000000; border: 2px solid #cc0000; WIDTH: 100%; height: 150px; COLOR: #cc0000; font-face: verdana;" name="playlist" size="6">
<option value="0">SONG TITLE</option>
<option value="1">SONG TITLE</option>
<option value="2">SONG TITLE</option>
<option value="3">SONG TITLE</option>
<option value="4">SONG TITLE</option>
<option value="5">SONG TITLE</option>
</select></p>
</form>
<a onclick="play(document.forms['form'].playlist);">
<img src="[Link](Mouse over link to see full location); border="0" name="butplay" width="15" height="15"></a>
<a onclick="document.CPplayer1.Pause(); playstate=2;">
<img src="[Link](Mouse over link to see full location); border="0" name="butpause" width="15" height="15"></a>
<a onclick="document.CPplayer1.Stop(); playstate=2;">
<img src="[Link](Mouse over link to see full location); border="0" name="butstop" width="15" height="15"></a></td>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
//-->
</script>
<script language="JavaScript">
<!--
var playstate = 1;
shuffle = 1; // set to 0 to always play first song in list
// set to 1 to randomly choose the first song to play
songs=new Array();
songs[0]="SONG URL";
songs[1]="SONG URL";
songs[2]="SONG URL";
songs[3]="SONG URL";
songs[4]="SONG URL";
songs[5]="SONG URL";
if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.CPplayer1.FileName = songs[randsg];
document.CPplayer1.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.CPplayer1.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.CPplayer1.FileName = songs[snum];
document.CPplayer1.scr = songs[snum];
}
playstate = 1;
}
//-->
</script></td></tr></table></br>
<!-- End Script by Blogring.net -->
*********ok wat u do is get ur music codes and put them in the SONG URL..just take out song url nothing else. so put the song link in there. and then if u want the song name to appear...then u put it in the SONG TITLE part..and u just delete SONG TITLE and put in ur song title...check out mine from my page!
if u want more stuff for ur xanga check out [Link](Mouse over link to see full location) it has tight backgrounds, cursurs,link hovers, music codes..everything. i figured most of it out myself so im sure u can!
if u need more help leave one in the inbox!!
Twizzler
ooo and i just noticed that the code that i gave u actually puts the music player there..so go to blogring.net and go to the top where is says XANGA and a lil scrollin thing will b under it and then click music codes and then there shud b a title that says UPDATED PLAYLIST...that is the code!! [ twizzler2's advice column | Ask twizzler2 A Question ]
lil_kati22 answered Friday August 20 2004, 1:20 pm: i dont think you can but maybe if you put the url to 2 songs in the music url box maybe just maybe it will play the one then the other idk
hope i helped if you need anymore help just drop one in my box!
xxxxxx answered Friday August 20 2004, 12:17 pm: yes there is a way! theres a certain code. but i dont know what the code is, i just know there is a code [ xxxxxx's advice column | Ask xxxxxx A Question ]
Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content. Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.