1 entry |
![]() ![]() |
1 entry |
Sep 26 2004, 04:38 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 13 Joined: Sep 2004 Member No: 51,486 |
okay i know i posted about using one code per entry. but when i use next and forward, it skips some. so its show like 5 before. is there anyway to stop this from happening, and have it show the ones it skipped on their own pages? this is the code im using.
CODE <!-- begin code provided by createblog.com -->
<!-- Display Custom Number Of Entries --> <script> numberOfEntries = 1; //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') { break; } stuff = stuff.nextSibling; stuff.style.display='none'; }} </script> <!-- end code provided by createblog.com --> |
|
|
|
Sep 26 2004, 05:52 PM
Post
#2
|
|
|
anna park ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 416 Joined: Jul 2004 Member No: 29,818 |
i guess that code is designed to be like that.. i dont knoe if there is a code that you want
|
|
|
|
![]() ![]() |