Log In · Register

 
Disabling 'Next 5' link
Dark_Juliet
post Feb 24 2006, 01:31 PM
Post #1


I DEMAND PIGGIES!!
***

Group: Member
Posts: 64
Joined: Nov 2004
Member No: 63,822



Does anyone know how to disable the next 5 link at the bottom of your Xanga? I don't really want anyone going through my older entries, and i'm too lazy to delete my old entries and/or put them all on private. I looked in the Xanga scripts section, but i didn't see it.
 
 
Start new topic
Replies
talcumpowder
post Feb 24 2006, 06:38 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Because you can use the "replace any link text" code. Or the "replace any text" code. &at the moment, Xanga scripts is being transferred, so it's not there.
CODE
<script language="javascript">
<!--
var links = document.getElementsByTagName ("a");
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/next 5 &gt;&gt;/i)) links[l].innerHTML = str.replace (/next 5 &gt;&gt;/i, "");
else if (str.match (/&lt;&lt; previous 5/i)) links[l].innerHTML = str.replace (/&lt;&lt; previous 5/i, "");
}//-->
</script>
You can use that.
 

Posts in this topic


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