adding music and the no. of entries shown.. |
adding music and the no. of entries shown.. |
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 :) |
|
|
|
![]() |
Mar 1 2005, 11:31 PM
Post
#2
|
|
|
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> |
|
|
|
nobi adding music and the no. of entries shown.. Mar 1 2005, 08:51 AM
niez_cho For changing the total number of entries shown to ... Mar 1 2005, 08:57 AM
nobi i tried that script
but it doesn't work...
whe... Mar 1 2005, 10:57 AM
crashingg for the number of entries -- where did you place y... Mar 1 2005, 11:50 AM
kandiapplegrl If I'm not mistaken, I think that script was m... Mar 1 2005, 11:33 PM
nobi but i've tried to change the number to 3, it d... Mar 2 2005, 03:20 AM![]() ![]() |