|
Post by disdain on Jul 11, 2006 21:00:41 GMT -5
|
|
|
Post by Minya Collowen on Jul 12, 2006 15:08:56 GMT -5
I'll add you to our affiliation box
|
|
|
Post by disdain on Jul 12, 2006 15:32:28 GMT -5
Ooh-thank you. Is there some piece of technological wizardry I should learn to put an affiliate box on my page?
|
|
|
Post by Minya Collowen on Jul 12, 2006 15:40:26 GMT -5
aye i searched high and low, through the darkest depths before finding the ancient scrolls which held the key to this mystical code....aka...here it is:
<script language="JavaScript"> <!-- /* Affiliate Table v3 - by Nadim This code must not be posted by anyone but its creator. http://zdesign.proboards3.com*/
var AffiliateTableWidth="92%" //Width of the Affiliate Table var InfoCentAttatch="yes" //'yes' to attatch to info center (normally if in footers)
var MouseOver="5" //speed of highlight when mouseover var MouseOut="3" //speed of highlight fade when mouseout var MiniSpace=" " //repeat for more space between banners
var AffiliateAlert = "yes" //'yes' if you want an alert on copy affiliate code
var AffiliateAlertText = "This Board's Affiliate code has been copied onto your clip board. \nPress Ctrl-V to paste the code. Thanks for affiliating!"
function HighlightAll(AffiliateCode) { if(AffiliateAlert.match(/^yes$/i)){ alert(AffiliateAlertText) }else{} var Affiliation=eval("document."+AffiliateCode) Affiliation.focus();Affiliation.select() if (document.all){ var TextRange=Affiliation.createTextRange() TextRange.execCommand("Copy") setTimeout("window.status=''",'1800') window.status="Copy the affiliate code!" }} var BannerFade = new Object(); var FadeObject = new Object(); function MiniBanFade(object, destOp, rate, delta){ if(!document.all) return if(object != "[object]"){ setTimeout("MiniBanFade("+object+","+destOp+","+rate+","+delta+")",0); return;} clearTimeout(BannerFade[object.sourceIndex]); direction = 1; diff = destOp-object.filters.alpha.opacity; if(object.filters.alpha.opacity > destOp){ direction = '-1';} delta=Math.min(direction*diff,delta); object.filters.alpha.opacity+=direction*delta; if(object.filters.alpha.opacity != destOp){ FadeObject[object.sourceIndex]=object; BannerFade[object.sourceIndex]=setTimeout("MiniBanFade(FadeObject["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);}} if(InfoCentAttatch.match(/^yes$/i)){ document.write('<center><table border="0" width="'+AffiliateTableWidth+'" cellspacing="1" class="bordercolor" cellpadding="0" style="position: relative; bottom: 14px;">') }else{document.write('<center><table border="0" width="'+AffiliateTableWidth+'" cellspacing="1" class="bordercolor" cellpadding="0">')} //--> </script> <noscript> <center><table width="92%" cellspacing="1" class="bordercolor"> </noscript> <tr> <td colspan="2" class="catbg" height="18"> <table width="100%" height="100%" cellpadding="4" cellspacing="0"> <tr> <td class="catbg">Affiliates</td> <td width="1"> <form name="Copy" style="margin-bottom:0;"> <center><textarea name="AffiliateCode" style="filter: alpha(opacity=0); width: 1px; height: 1px">
<a href="YOUR SITE URL" Target="_blank"> <img src="YOUR AFFILIATE IMAGE URL" width=88 height=31 border=0 alt="banner"></a>
</textarea></center></form> </td> </tr> </table> </td> <tr> <td class="windowbg2"> <marquee direction="left" scrollamount="2" scrolldelay="1" onmouseover="this.stop()" onmouseout="this.start()"> <script language="JavaScript"> <!-- function Affiliate(AffiliateURL,MiniBanner){ document.write(MiniSpace+"<a href='"+AffiliateURL+"' target='_blank'><img src='"+MiniBanner+"' style='filter:alpha(opacity=50)' onmouseover='MiniBanFade(this,200,20,"+MouseOver+")' onmouseout='MiniBanFade(this,50,20,"+MouseOut+")' width='88' height='31' border='0' /></a>"+MiniSpace)}
//Start Mini Banners
Affiliate("AFFILIATE SITE URL"," AFFILIATE IMAGE URL");
//End Mini Bannners
//--> </script> </marquee></td> <td class="windowbg2" width="1" align="center" valign="middle"> <table cellpadding="3"> <tr> <td align="center" valign="middle"> <a href="javascript:HighlightAll('Copy.AffiliateCode')"><img src="YOUR BANNER URL" width="88" height="31" border="0" alt="Click here to copy this board's affiliate code!"></a> </td> </tr> </table> </td> </tr> </table> </center>
I just changed some of the words from what i had to what you should input, try it out, and if it doesn't work i'll look over it again. Put it in your MAIN or GLOBAL footers.
|
|
|
Post by disdain on Jul 12, 2006 17:16:17 GMT -5
Scary, but I think I got it working.
|
|
|
Post by Minya Collowen on Jul 12, 2006 17:40:21 GMT -5
Good work
|
|