Help - Search - Members - Calendar
Full Version: adding music and the no. of entries shown..
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
nobi
i want to add music
at http://www.xanga.com/home.aspx?user=XaNgA_MuSiC
i copied the link and puts it in my xanga
but it doesn't work? or is it the problem of my own computer?

and also i'd like to ask may i change the total number of entries shown to the public? like 5 or 10?

thank you :)
gelionie
For changing the total number of entries shown to the public, here is a script:
http://www.createblog.com/forums/index.php?showtopic=30829

And for adding music, do you want to add one song only or more songs in a playlist?
nobi
i tried that script
but it doesn't work...
when i click to public review
i still see all my public entries, but not the number i set..
what may be the problem..?

i want to add only one song..
(if that's possible, i'd like to have a player to let people choose to stop or pause the music...)

thanks :)
crashingg
for the number of entries -- where did you place your code? or can you post your code here?

and for the music if you only want one song you can just paste the url in your CLAF page at the bottom where it says MUSIC .. if you want the buttons .. you can use a code from the xanga scripts -- http://www.createblog.com/forums/index.php...ilter=all&st=90 if you click that link and scroll down -- you'll see plenty of scripts for music players

happy.gif
nobi
oh i got the music playing now...hahaha thanks a lot :)

the code is this.. suppose i'd like to show 6 entries.
i just change the number in the first line..

<script>
numberOfEntries = 6; //Change this value here...
if(location.pathname=='/home.aspx'){
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){break;}
}
stuff = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
for(j=1;j<numberOfEntries;j++){
stuff=stuff.nextSibling.nextSibling.nextSibling
if(stuff.tagName=='BR'){
stuff=stuff.previousSibling;
}
}
for(i=0;i<20;i++){
if(stuff.tagName=='HR' && stuff.nextSibling.tagName=='TABLE')
{
stuff.nextSibling.removeNode(true);
break;
}
stuff = stuff.nextSibling;
stuff.style.display='none';
}}
</script>
kandiapplegrl
If I'm not mistaken, I think that script was made only to go up to 5.
nobi
but i've tried to change the number to 3, it doesn't work either..

oh.. and i have one more question
where can i upload my own songs apart from those found at xanga_music?
can anyone give me links for uploading songs?
thanks very much :)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.