We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
New and Easy Affiliate box; By HolySavior
Topic Started: Jan 25 2010, 10:54 AM (118 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: HolySavior
New and Easy Affiliate box
 
Well i know you are all full of affiliate boxes but i made this one alittle easier for you all to input images and links. instead of copy and pasteing a ton.

put this ever ever you want it to show up.
Preview: Here
THIS WILL ONLY ON INDEX PAGE ONLY

Quote:
 

<script language="javascript">
/* Code by HolySavior ; Index only by Purge */
var aff = []
aff[0] = ["IMAGE URL HERE","LINK URL"]
aff[1] = ["IMAGE URL HERE","LINK URL"]

var n = new String(document.location);
if(n.lastIndexOf("?") == (n.length - 1) || n.lastIndexOf("?") == -1 || n.lastIndexOf("act=idx") == (n.lastIndexOf("?") + 1))
{
document.write('<div class="tableborder"><div class="maintitle">Affiliates</div><div class="post4"><marquee scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()">')
for(i=0;i<aff.length;i++)
{
document.write('<a href="'+ aff[1] +'"><img src="'+ aff[0] +'"/></a>')
}
document.write('</marquee></div></div>')}
else {
indexonly.innerHTML = "";
}
</script>


add more to the list and change the green number :
ex: (1,2,3,4,5,6... so on and so forth)
Quote:
 

aff[1] = ["IMAGE URL HERE","LINK URL"]
Offline Profile Quote Post Goto Top
 
0 users reading this topic
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply