Log In · Register

 
 
Closed TopicStart new topic
# of entries, whats the code
LatinaLady
post 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*
post 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.
 
LatinaLady
post 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
 
sherryvu
post 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 -->
 
LatinaLady
post 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!!!!
 
sherryvu
post 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
 
tha1nonly
post 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 :)
 
DittotoAnne18
post 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!
 

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