|
news
Feb 15, 2012 0:38:21 GMT -4
Post by MonsterControl on Feb 15, 2012 0:38:21 GMT -4
<script type="text/javascript"> /* News Fader Head/Base Images - By Anish http://digitaldat.proboards.com DO NOT; Rip, Repost or Claim */
// Head Image URL then image height var NewsHead = ""; var Headheight = "25";
// Base Image URL then image height var NewsBase = ""; //Base Image var Baseheight = "25";
if(location.href.match(/action=home/) || !location.href.match(/action/)){ var table=document.getElementsByTagName('table'); for(a=0;a<table.length;a++){ if(table.item(a).width == "100%" && table.item(a).cellPadding == "0" && table.item(a).innerHTML.match(/News/)){ var head = table.item(a).insertRow(0).insertCell(0) head.height = Headheight; head.style.backgroundImage = "url('" + NewsHead + "')"; var base = table.item(a).insertRow(table.item(a).rows.length).insertCell(0); base.height = Baseheight; base.style.backgroundImage = "url('" + NewsBase + "')"; } } } </script>
|
|