Revolution X

Coding Community => Coding Snippets => Topic started by: deathwilldie on November 08, 2008, 10:04:16 pm



Title: Affiliate code with Text area
Post by: deathwilldie on November 08, 2008, 10:04:16 pm
Put this into your footers if you want it at the bottom of the page.  If you want it at the top put it in the headers.
Code:
<!-- Affiliate Box Code by deathwilldie from Revolution X
(http://www.revolutionx.smfforfree3.com)-->
<div class="tborder"><table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr class="catbg"><td width="80%"><center>Affiliates</center></td>
<td width="20%">Our Code</td>
</tr>
<tr>
<td width="80%" class="windowbg2">
<marquee onmouseover="this.stop()" onmouseout="this.start()">
<a href="FORUM_URL" target="_blank"><img src="IMAGE_URL"/></a>
</marquee>
</td>
<td class="windowbg" width="20%">
<center>
<img src='YOUR_IMAGE_URL' border='0'/>
<br>
<script>
document.write("<textar"+"ea class='smalltext'><a href='YOUR_FORUM_URL' target='_blank'><img src='YOUR_IMAGE_URL'></a></textar"+"ea>")
</script>
</center>
</td></tr></table></div>


With this affiliate code it comes with a text area on the side so you can have your code and image for other people to use.

Things to change
Change FORUM_URL to the person forum URL, and change the IMAGE_URL to the Person Image URL.
When you get to YOUR_FORUM_URL change it to the your forum and YOUR_IMAGE_URL change it to your image.
To add more affiliates add more of these after the one in the code:
Code:
<a href="FORUM_URL" target="_blank"><img src="IMAGE_URL">

Preview:www.affiliate.smfforfree4.com (http://www.affiliate.smfforfree4.com)


Title: Re: Affiliate code with Text area
Post by: Mojobojo82 on June 22, 2009, 04:27:32 am
Thanks! Nice code DwD!
Just added it.