Disabling 'Next 5' link |
![]() ![]() |
Disabling 'Next 5' link |
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.
|
|
|
|
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"> You can use that.
<!-- 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 >>/i)) links[l].innerHTML = str.replace (/next 5 >>/i, ""); else if (str.match (/<< previous 5/i)) links[l].innerHTML = str.replace (/<< previous 5/i, ""); }//--> </script> |
|
|
|
![]() ![]() |