View Full Version: Act=idx.

Final Rest > News, Updates & Events > Act=idx.



Title: Act=idx.


Clair - November 28, 2007 06:31 AM (GMT)
This is somewhat a simple request, but can you make the HTML stuff show up on the idx page only?

That would be helpful.

The JS for it is
CODE

<script>
if (location.href.match("act=idx")){
document.write("HTML stuff goes here")
}
</script>

Rin(M.C) - November 28, 2007 06:50 AM (GMT)
well this code has been made by purge.exe

Code Name: Index only
Description: Only shows on the index
Preview of it in Use:here
Where it goes: Footer
Code:


QUOTE
<script language="JavaScript">
// Index only code
// by purge.exe

var n = new String(document.location);

if(n.lastIndexOf("?") == (n.length - 1) || n.lastIndexOf("?") == -1 || n.lastIndexOf("act=idx") == (n.lastIndexOf("?") + 1))
{
}
else
{
    indexonly.innerHTML = "";
};
</script>



Copyright: purge.exe
How to use:


QUOTE
<span id="indexonly">
. . .
. . .
Your code goes here.
. . .
. . .
</span>

Clair - November 28, 2007 06:53 AM (GMT)
QUOTE (Rin(M.C) @ Nov 27 2007, 10:50 PM)
well this code has been made by purge.exe

Code Name: Index only
Description: Only shows on the index
Preview of it in Use:here
Where it goes: Footer
Code:


QUOTE
<script language="JavaScript">
// Index only code
// by purge.exe

var n = new String(document.location);

if(n.lastIndexOf("?") == (n.length - 1) || n.lastIndexOf("?") == -1 || n.lastIndexOf("act=idx") == (n.lastIndexOf("?") + 1))
{
}
else
{
    indexonly.innerHTML = "";
};
</script>



Copyright: purge.exe
How to use:


QUOTE
<span id="indexonly">
. . .
. . .
Your code goes here.
. . .
. . .
</span>

XD My version is a lot, lot shorter, I mean could you put the CBOX and the affiliate system on the idx page please? Not to B****, but it makes it annoying when I load a new page.

Rin(M.C) - November 28, 2007 06:55 AM (GMT)
our members like talking on the cbox while postings. it is up to the members. we can make a poll




Hosted for free by InvisionFree