Howevr many weblogs u want displayed, very useful..! |
Howevr many weblogs u want displayed, very useful..! |
![]()
Post
#1
|
|
![]() and so it is ![]() ![]() ![]() ![]() ![]() ![]() Group: Human Posts: 1,304 Joined: Feb 2004 Member No: 3,085 ![]() |
This code allows you to display as many weblogs as you want! just change the number of entries you want...like, i hav 3!
PUT IN WEBSTATS: CODE <!-- begin code provided by createblog.com --> <script> // By: Paul Chen (coyote) // dangit numberOfEntries = 3; //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> <!-- end code provided by createblog.com --> ENJOY :) oh btw, if u say it doesn't work...try lookin in the "public preview" first! |
|
|
![]() |
![]()
Post
#2
|
|
![]() Doh! ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 393 Joined: Feb 2004 Member No: 4,507 ![]() |
QUOTE(mengster @ Mar 1 2004, 10:28 PM) awesome i've always wondered how people do that. does it work in premium? gonna try it i guess --edit-- no luck. think you can give me a hand with this? the script in the skin is: <$Xanga_Posts$> </TD></TR></TABLE><br><br> </Xanga> and somehow i don't think your script will fit. ![]() I could be wrong, but the reason yours is probably not working is.... These scripts were made for Xanga's look and feel section....not for paid Xanga premium skins |
|
|
![]() ![]() |