Log In · Register

 
removing
xSiLLyMex
post Sep 25 2005, 07:33 PM
Post #1


i know right?
*****

Group: Member
Posts: 376
Joined: Aug 2004
Member No: 40,129



um.. does anybody know the code for removing the Posting Calendar and Blogring module?

The code I was using to remove it just stopped working.

and.. the correct code for displaying one entry. I tried all of the codes for displaying one entry, and it's still not working for me. I had to go back and make all my entries private. But it sucks that I can only see one entry when im logged out. so.. help me plz? THANKS.
 
 
Start new topic
Replies
xSiLLyMex
post Sep 25 2005, 11:14 PM
Post #2


i know right?
*****

Group: Member
Posts: 376
Joined: Aug 2004
Member No: 40,129



<!-- begin code provided by createblog.com -->
<script>
numberOfEntries = 1; //Change this value here...
if(location.pathname=='/sillyme_143'){
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 -->

Im using that one.
 

Posts in this topic


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