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
[CODE] Ultimate Affiliate Table v1; Easier than any other!; By Pokeforums
Topic Started: Jan 25 2010, 10:54 AM (144 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Pokeforums
[CODE
 
Ultimate Affiliate Table v1; Easier than any other!]Name: Ultimate Affiliate Table v1 [IE, FF, Opr]
Preview: Click Here (let's just pretend the red X's are images :mez: )
Description: Where you can put up banners to other sites and afiliate with them, but easier to control.
Goes In: Whereever you wan't it to appear, usually at the end of Header and Body.
Code:
 
<script type="text/javascript">
/* Pokeforums ---------------------------- Ultra Affiliate Table *\
\* May be reposted anywhere as long as this header remains intact*/
var affTitle='Affiliates' // The title of all affiliates
var subName='Affiliates and Links' //Title that will appear below the affTitle
//Don't Edit till told to.\\
document.write("<div class=\"tableborder\"><div class=\"maintitle\">"+affTitle+"</div><table cellpadding='4' cellspacing='1' border='0' width='100%'><tr><td class='pformstrip'>"+subName+"</td><tr><td class='row4' width='95%'><marquee onmouseover=this.stop() onmouseout=this.start()>");
function Content(url,image,alt) {
document.write("<a href="+url+" target='_blank'><img src="+image+" width='88' height='31' border='0' alt="+alt+"></a>");
}
//Edit Below here
Content('Url To Site','Mini-Banner Url','Alternate Text');
Content('http://invisionfree.com','http://invisionfree.com/images/minibanner.gif','InvisionFree!');
//Edit Above There
document.write("</marquee></td></tr></table>");
document.write('</div><br><br>');
/*End Affiliates*/
</script>

How To Edit:
Content('Url To Site','Mini-Banner Url','Alternate Text');
This is the url to the site you are affiliating with.
This is their mini-banner url. Remember, big banners will be resized to 88x31, so ask the site owner to make a small one.
This is the alternate text. Preferrably (sp?) the name of the site.

Simply repeat:- Content('Url To Site','Mini-Banner Url','Alternate Text');
to add more.
Copyright: Included.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply