Richie
Daywalker
[AWD:06] ::[1:13] [2:0] [3:0] [M:50]
^ That's Me ^
Posts: 17
|
Post by Richie on Jul 13, 2010 15:41:13 GMT -6
Description: allows an easy way to copy the HTML affiliate code for any forum. Cross Browser?: Yes Preview: iybtest.proboards.com/index.cgi?board=codes&action=display&thread=83#bottomPlacement: Global Headers<script type="text/javascript"> <!-- /* Easy "Copy Affiliate Code" Script V2 By Son Of Exodia */ /* Global Header */
function affcode(minibanner){var mini=minibanner; window.prompt('Please Press "CTRL + C" To Copy The Code Below:','<a href="http://'+location.host+'" target="_blank"><img src="'+mini+'" alt="" title="'+document.title.split(/\s-/i)[0]+'" width="88" height="31" border="0"/></a>'); } //--> </script> now depending on what you want users to click on to copy the code, use this: IMAGE:<img src=" URL OF MINI BANNER" width="88" height="31" alt="" onclick='affcode(" URL OF MINI BANNER");'; style="cursor:pointer;"/> TEXT:<a href='javascript:affcode(" URL OF MINI BANNER");'> Copy Affiliate Code</a> BUTTON:<input type="button" value=" Copy Code" onclick='affcode(" URL OF MINI BANNER");';/> Edit ONLY The Red Bits
|
|
|
Post by Nightwalker on Jul 13, 2010 16:06:56 GMT -6
you know i love this code...this is one of the best codes out there for me...everyone should use it in their table.
|
|