Log In · Register

 
 
Closed TopicStart new topic
adding music and the no. of entries shown..
nobi
post Mar 1 2005, 08:51 AM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2005
Member No: 79,293



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
post Mar 1 2005, 08:57 AM
Post #2


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



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
post Mar 1 2005, 10:57 AM
Post #3


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2005
Member No: 79,293



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
post Mar 1 2005, 11:50 AM
Post #4


rainy days fade away..
*****

Group: Member
Posts: 566
Joined: Oct 2004
Member No: 58,261



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
post Mar 1 2005, 11:31 PM
Post #5


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2005
Member No: 79,293



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
post Mar 1 2005, 11:33 PM
Post #6


Senior Member
*****

Group: Member
Posts: 317
Joined: Jan 2005
Member No: 82,987



If I'm not mistaken, I think that script was made only to go up to 5.
 
nobi
post Mar 2 2005, 03:20 AM
Post #7


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2005
Member No: 79,293



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 :)
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: