Post by Smangii Posting Profile on Nov 29, 2010 18:06:30 GMT -6
Just incase anyone wants it, its here...
<SCRIPT LANGUAGE="javascript">
/* Random Affiliate Table x2, by Smangii
http://smangii.proboards78.com
Do not Repost Without Permission */
<!--
function random_affs()
{
// YOUR AFFILIATE SETTINGS BELOW
var orange = "YOUR AFFILIATE PAGE"
var apple= "YOUR MINI BANNER"
// COLUMN ONE OF YOUR AFFILIATES
var ListThree =new Array()
ListThree[1]=new Array("FORUMURL","IMAGEURL")
ListThree[2]=new Array("FORUMURL","IMAGEURL")
ListThree[3]=new Array("FORUMURL","IMAGEURL")
ListThree[4]=new Array("FORUMURL","IMAGEURL")
ListThree[5]=new Array("FORUMURL","IMAGEURL")
// COLUMN TWO OF YOUR AFFILIATES
var ListFour=new Array()
ListFour[1]=new Array("FORUMURL","IMAGEURL")
ListFour[2]=new Array("FORUMURL","IMAGEURL")
ListFour[3]=new Array("FORUMURL","IMAGEURL")
ListFour[4]=new Array("FORUMURL","IMAGEURL")
ListFour[5]=new Array("FORUMURL","IMAGEURL")
// EDIT NOTHING BELOW
var EF=Math.floor(Math.random()*ListThree.length)
if (EF==0){EF=1}
var carrot=ListThree[EF][0]
var peas=ListThree[EF][1]
var AB=Math.floor(Math.random()*ListFour.length)
if (AB==0){AB=1}
var pizza=ListFour[AB][0]
var hotdog=ListFour[AB][1]
document.write('<table width="500" cellpadding="0" cellspacing="0" class="bordercolor" align="center"><tr><td><table width="100%" cellpadding="4" cellspacing="1" border="0"><tr><td align="center" class="catbg" colspan="6" width="20%"><font size="2" class="cattext"><b>Random Affiliates:</b></font></td></tr><tr><td width=20%" align="center" height="35" class="windowbg2"><a target="_blank" href="'+carrot+'"><img src="'+peas+'" border="0" width="88" height="33"></a></td><td width="20%" align="center" height="35" class="windowbg2"><a target="_self" href="'+orange+'" alt="Affiliate with us!"><img src="'+apple+'" border="0" alt="Click here to affiliate with us!"></a></td><td width=20%" align="center" height="35" class="windowbg2"><a target="_blank" href="'+pizza+'"><img src="'+hotdog+'" border="0" width="88" height="33"></a></td></tr>')
}
random_affs()
//-->
</SCRIPT>
<!-- Shoutbox hide/show table, by Smangii
http://smangii.proboards78.com
Do not Repost Without my permission //-->
<tr>
<td align="center" class="catbg" colspan="6"><font size="2" class="cattext">
<div style="float:right">
<a href="#" onclick="this.innerHTML = (this.innerHTML == 'Hide Shoutbox') ? 'View Shoutbox' : 'Hide Shoutbox'; var hiderow = document.getElementById('hiderow'); hiderow.style.display = (hiderow.style.display == 'none') ? '' : 'none'; return false;">View Shoutbox</a></div>
</font></td></tr>
<tr id="hiderow" class="windowbg2" style="display: none;" colspan="0" width="500" cellpadding="0" cellspacing="0">
<td width="480" colspan="6" cellpadding="0" cellspacing="0">
SHOUTBOX CODE GOES IN HERE
</td>
</tr>
</table>
</table>