Post by bass5098 on Apr 6, 2007 20:12:30 GMT
<script type="text/javascript">
<!--
var title = "Forum Name" // The Name Of Your Forum
var mb1 = "Forum URL" // The URL To Your Forum
var mb2 = "Mini Banner URL" // The URL To Your Mini Banner
var affArray = [
["URL OF FORUM","URL OF IMAGE","WIDTH","HEIGHT"],
["URL OF FORUM","URL OF IMAGE","WIDTH","HEIGHT"] // Last line Doesn't Have A Comma
];
// DO NOT EDIT BELOW
document.write('<center><table id="afftable" width="92%" class="bordercolor" align="center valign="middle"><tr><td class="titlebg" width="90%">'+title+' Affiliates - <a href="javascript:closeaffbox();void(0);">Hide</a> / <a href="javascript:openaffbox();void(0);">Show</a></td><td width="10%" align="right" class="titlebg"> <b><a href="javascript:closeaffiliates();void(0);">X</a></b></td></tr><tr id="affdisplay"><td class="windowbg2">');
document.write('<marquee id="aff_scrl" onmouseover="this.stop()" onmouseout="this.start()" direction="left" scrollamount="6">');
for (i=0; i<affArray.length; i++) {
document.write('<a href="' + affArray[i][0] + '" target="_blank"><img src="' + affArray[i][1] + '" width="' + affArray[i][2] + '" height="' + affArray[i][3] + '" border="0" style="-moz-opacity:0.5;filter:alpha(opacity=50)" onmouseover="this.style.MozOpacity=1; this.filters.alpha.opacity=100" onmouseout="this.style.MozOpacity=0.5; this.filters.alpha.opacity=50"></a>');
}
document.write('</marquee>');
document.write('</td><td width="10%" class="windowbg"><a href="'+mb1+'"><img src="'+mb2+'" border="0" title="'+title+'" height="31" width="88"></a></td></tr>');
function closeaffbox()
{
document.getElementById('affdisplay').style.display='none';
}
function openaffbox()
{
document.getElementById('affdisplay').style.display='';
}
function closeaffiliates()
{
document.getElementById('afftable').style.display='none';
}
function opencode()
{
document.getElementById('affcode').style.display='';
}
function closecode()
{
document.getElementById('affcode').style.display='none';
}
function affdirectleft()
{
document.getElementById('aff_scrl').direction='left';
}
function affdirectright()
{
document.getElementById('aff_scrl').direction='right';
}
function affdirectstop()
{
document.getElementById('aff_scrl').stop()
}
function affdirectstart()
{
document.getElementById('aff_scrl').start()
}
document.write('<tr><td colspan="2" class="windowbg2" width="100%"><a href="javascript:affdirectleft();void(0);">Left</a> | <a href="javascript:affdirectright();void(0);"> Right</a> | <a href="javascript:affdirectstop();void(0);">Pause</a> | <a href="javascript:affdirectstart();void(0);">Start</a> | <a href="javascript:opencode();void(0);">Code</a></td></tr><tr id="affcode" style="display:none"><td width="100%" colspan="2" class="windowbg"><textarea rows="1" style="width: 100%;" onclick="this.select();" readonly="readonly"><a href="'+mb1+'"><img src="'+mb2+'" border="0" title="'+title+'" height="31" width="88"></a></textarea><center><br><a href="javascript:closecode();void(0);">Close</a></center></td></tr></table></center>');
//-->
</script>
PREVIEW: basschat.proboards83.com/index.cgi?board=aff (first one)