Log In · Register

 
Howevr many weblogs u want displayed, very useful..!
espressive
post Mar 1 2004, 05:59 PM
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!
 
 
Start new topic
Replies
lalala
post Mar 9 2004, 04:45 PM
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!
 

Posts in this topic
Lil_Cloud   Howevr many weblogs u want displayed   Mar 1 2004, 05:59 PM
Courney   RE: Howevr many weblogs u want displayed   Mar 1 2004, 07:20 PM
lilqtali2006   awesome code..but i put it in my custom header..an...   Mar 1 2004, 08:19 PM
iheartsimba   yay!!! I've been looking for that ...   Mar 1 2004, 08:22 PM
lilqtali2006   okie..i fixed it..guess i shoulda tried website st...   Mar 1 2004, 08:23 PM
Basket_c8c   ooohhhh nice!   Mar 1 2004, 09:18 PM
mengster   awesome i've always wondered how people do tha...   Mar 1 2004, 10:28 PM
LatinaLady   damn this is cool. i love this script. =)   Mar 1 2004, 10:51 PM
.r.leen.ee.   this is soOo kewl! i lOve this script!   Mar 1 2004, 11:36 PM
FLIPxADDICTION   nicee   Mar 2 2004, 02:14 AM
janmi_girl   huwaaa!! didnt work!!!   Mar 2 2004, 08:25 AM
dasturbd   QUOTE(mengster @ Mar 1 2004, 10:28 PM)awesome...   Mar 2 2004, 09:02 AM
CuteKittyKatGrl   this script is awesome, thanks but umm... how do...   Mar 2 2004, 12:27 PM
spazarandom   thank you thank you!!!   Mar 2 2004, 05:34 PM
Tsuyuko   Nice..using this, I don't have to try and matc...   Mar 2 2004, 06:40 PM
phanaticalazn21   it is very useful!   Mar 2 2004, 11:57 PM
shortdude106   QUOTE(CuteKittyKatGrl @ Mar 2 2004, 12:27 PM)...   Mar 3 2004, 12:02 AM
Lil_Cloud   QUOTE(shortdude106 @ Mar 3 2004, 12:02 AM)i t...   Mar 3 2004, 06:03 PM
kwasygurl7   cool ! ive had to delete bogrings to make room...   Mar 4 2004, 06:15 PM
Dreamy_illusions   i like it but it only worked 4 me wen i kept the n...   Mar 6 2004, 10:01 AM
onesourlemon   You have my respect. Thank you very much. :]   Mar 6 2004, 03:30 PM
aznmunki   WOW...VERY USEFUL....>>BUT<< u cant c ...   Mar 6 2004, 06:34 PM
phee   ooh.. lol this is an awesome codee ! ive been ...   Mar 6 2004, 08:08 PM
coyote   QUOTE(aznmunki @ Mar 6 2004, 6:34 PM)WOW...VE...   Mar 6 2004, 08:11 PM
corinn   omg wow i didn't think they had one of those h...   Mar 7 2004, 12:47 AM
AngelicEyz00   I'm guessing this isn't REALLY however man...   Mar 7 2004, 12:54 AM
shellyo_ownz   makes things much easier....thanx!!!   Mar 7 2004, 06:30 PM
v@por   QUOTE(CuteKittyKatGrl @ Mar 2 2004, 12:27 PM)...   Mar 8 2004, 03:43 AM
oOUchihaSasukeOo   OH PIMP! thnkx been lookin all ova for this li...   Mar 8 2004, 04:24 AM
pink_luva   i like this code because now ppl can c my bg pic u...   Mar 8 2004, 11:54 PM
radii   w0w great one there. wonderful job done   Mar 9 2004, 09:23 AM
lalala   QUOTE(coyote @ Mar 6 2004, 8:11 PM)yes you ca...   Mar 9 2004, 04:45 PM


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