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
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Feb 2004 Member No: 2,691 ![]() |
QUOTE(coyote @ Mar 6 2004, 8:11 PM) yes you can, I wrote it so that you still see your posts in your private view. And the script does is not sophisticated, therefore, you can't have 7 posts being shown. oooo thats cool! |
|
|
![]() ![]() |