Post by Reverse Blade on Jul 21, 2012 6:35:36 GMT
Thread mod that simplifies and streamlines the information.
Put in Global Footers
Preview
Put in Global Footers
Preview
<script type='text/javascript'>
<!--
/*
By Reverse Blade
Shadow Designs
http://blackout1.proboards.com/
*/
if(location.href.match(/board=/i)) {
for(var d=document.getElementsByTagName('td'), t=0;t<d.length;t++) {
if(d[t].width=='48%' && d[t].className=='windowbg' && d[t].getElementsByTagName('a')) {
/* -------Variables------- */
var folder=d[t-2].innerHTML;
if(d[t].getElementsByTagName('font')[0].getElementsByTagName('a')[0].innerHTML.substring(30,31)) {
var dub=d[t].getElementsByTagName('font')[0].getElementsByTagName('a')[0].innerHTML.substring(0,30);
var lin=d[t].getElementsByTagName('font')[0].getElementsByTagName('a')[0].href;
var pages=d[t].innerHTML.match(/\[ Pages: (.+?) \]/i)? '[ Pages: '+RegExp.$1+' ]' : '';
var main=' <a href="'+lin+'" style="font-size: 9px;"><b>'+dub+'..</a></b><br />'+pages;
} else {
var main=' '+d[t].innerHTML;
}
var by=d[t+1].innerHTML;
var replies=d[t+2].firstChild.firstChild.innerHTML;
var replieslink=d[t+2].getElementsByTagName('a')[0].href;
var views=d[t+3].firstChild.innerHTML;
var lastby=d[t+4].innerHTML.split('br>by')[1];
var last=d[t+4].firstChild.innerHTML.split('<br')[0];
var imgs='<img src="http://img262.imageshack.us/img262/1145/reimageh.gif" border="0" />';
/* -------End Variables------- */
d[t-1].style.display='none';
var board=document.createElement('td');
board.className='windowbg';
board.colSpan='7';
board.width='100%';
var rest=document.createElement('table');
rest.className='windowbg';
rest.width='100%';
rest.innerHTML='<tr><td width="30%" onmouseover="mouseOverHighlightCell(this.parentNode.parentNode.parentNode);return true;" onmouseout="mouseOutHighlightCell(this.parentNode.parentNode.parentNode);return true;"> '+folder+'<span class="mn">'+main+'</span></td> <td width="20%">'+imgs+' <span>by: <span>'+by+'</span></span></td><td width="20%" align="left">'+imgs+' <span>'+views+' views | <a href="'+replieslink+'"> '+replies+' replies</a> </span></td><td width="33%" style="font-size: 9px;"><span style="float: left;">'+imgs+'</span> <span style="margin-left: 27px;"><b>Last Post By: '+lastby+'</b></span> <br /><span style="margin-left: 27px;"> <i>'+last+'</i></span></td></tr>';
board.appendChild(rest);
d[t-2].style.display='none';
d[t].style.display='none';
d[t+1].style.display='none';
d[t+2].style.display='none';
d[t+3].style.display='none';
d[t+4].style.display='none';
d[t].parentNode.appendChild(board);
d[t].parentNode.parentNode.parentNode.className='sborder';
}
if(d[t].className=='catbg' && d[t].width=='48%' && d[t].innerHTML.match(/Subject/i)) {
d[t].parentNode.style.display='none';
}
}
}
//-->
</script>