Help - Search - Members - Calendar
Full Version: Disabling 'Next 5' link
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
Dark_Juliet
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.
talcumpowder
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.