# of entries, whats the code |
# of entries, whats the code |
Jun 13 2004, 07:41 PM
Post
#1
|
|
![]() Look its... ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,817 Joined: Feb 2004 Member No: 4,767 |
wheres the code to have the # of entries you wish.
thank you =) |
|
|
|
![]() |
| *Kathleen* |
Jun 13 2004, 07:51 PM
Post
#2
|
|
Guest |
Did you check for the one that shows only one? If you read into it more, I'm sure you can alter it to fit how many entries you want.
|
|
|
|
Jun 13 2004, 07:53 PM
Post
#3
|
|
![]() Look its... ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,817 Joined: Feb 2004 Member No: 4,767 |
but this one http://www.createblog.com/forums/index.php?showtopic=12472 dont say nothing else. i dont see where i can change it to show e.g 3
|
|
|
|
Jun 13 2004, 08:11 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
CODE <!-- begin code provided by createblog.com -->
<script> numberOfEntries = 2; //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 --> |
|
|
|
Jun 13 2004, 08:22 PM
Post
#5
|
|
![]() Look its... ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,817 Joined: Feb 2004 Member No: 4,767 |
thank you!!!!
|
|
|
|
Jun 13 2004, 09:08 PM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
QUOTE(LatinaLady96 @ Jun 13 2004, 8:22 PM) thank you!!!! no problem |
|
|
|
Jun 14 2004, 05:41 AM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 360 Joined: May 2004 Member No: 17,368 |
wow.
i was looking for that code! thanks! now i'm going to use it :) |
|
|
|
Jun 14 2004, 05:50 PM
Post
#8
|
|
![]() Im gonna eat you! ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 371 Joined: Apr 2004 Member No: 13,383 |
i might use this code! Thanks!
|
|
|
|
![]() ![]() |