|
Post by Wormopolis on Mar 22, 2012 17:07:55 GMT -8
oops. that hid the thread name cell as well.
if(TD[t].width.match(/^(4|5|8)%/) && TD[t].className == 'windowbg')
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Mar 22, 2012 21:52:18 GMT -8
Oh nice Working better, but still has the blacked out boxes in some areas
|
|
|
Post by Wormopolis on Mar 24, 2012 5:07:51 GMT -8
yeah Im seeing that. its coming from the fact those codes arent redoing the colspan of the rows with column headers.
do you want to just get rid of those rows?
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Mar 24, 2012 8:52:10 GMT -8
Actually yes, that would be amazing! I think I actually searched for a code for that before with no results. You're awesome, sorry to keep you busy!
|
|
|
Post by Wormopolis on Mar 24, 2012 11:22:11 GMT -8
I dont know if you purposefully comibined these 2 codes...
<script> //Remove "Topics and Posts" column from main page //wooper var TD = document.getElementsByTagName("TD") for(i=0;i<TD.length;i++){ if(TD[i].width == "1%" && TD[i+1].width == "1%") { TD[i].style.display ="none"; TD[i+1].style.display ="none"; TD[i].parentNode.parentNode.parentNode.rows[1].cells[0].colSpan = '3'; } }
<!-- /* remove Forum Name | Topics | Posts... and add thread & post info by california */ var td=document.getElementsByTagName("td"); if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){ for(i=0;i<td.length;i++){ if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){ if(td[i+1].width.match(/^(1|7)%$/)){ td[i].innerHTML+="<br />threads"; td[i].width="8%"; }else{ td[i].innerHTML+="<br />posts"; td[i].width="7%"; } } if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){ td[i].width="4%"; } if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){ td[i].parentNode.style.display="none"; } } } //--> </script>
but now it has a syntax error because you need to remove the
<!--
in the middle of it.
is that section in main or global footer?
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Mar 24, 2012 11:50:23 GMT -8
Gosh, dummy move sry! Removed it; hopefully there aren't any others like that. That's main footer
|
|
|
Post by Wormopolis on Mar 24, 2012 12:07:14 GMT -8
move it to global footer, and change this line
if(td.className=="titlebg" && td.innerHTML.match(/Forum Name/i)){
to this
if(td.className=="titlebg" && td.innerHTML.match(/(Forum Name|Subject)/i)){
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Mar 24, 2012 12:21:09 GMT -8
hmm.. let me know if this one (globalfooter) is screwing with it or needs to be removed/changed. I added it pretty recently, maybe yesterday or the day before
<script type="text/javascript"> /*Remove Sub-Board | Topics | Post | Last Post Row - Wedge*/
var t=document.getElementsByTagName("td"); if( this.location.href.match(/board=\w+(&\w+=\d)?$/) ){ for(i=0;i<t.length;i++){ if(t[i].className=="titlebg" && t[i].innerHTML.match(/Sub-Boards/i)){ t[i].parentNode.style.display="none"; break; } } } </script>
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Mar 31, 2012 19:30:50 GMT -8
Mostly a note to myself because I forgot what was left for us to work on ^.^ *IE doesn't read forum alignment *remove the rows with the funky black boxes
And I think you took care of everything else! Thanks for helping me! Hope you're having a fun trip!
|
|
|
Post by Wormopolis on Apr 1, 2012 21:14:15 GMT -8
which rows still show the black boxes?
|
|
nynaeve
Not New Member
Posts: 19
nynaeve said 0 great things
|
Post by nynaeve on Apr 1, 2012 21:17:47 GMT -8
uhhh... they were definitely there just a while ago.. now the new poll button is below the new thread button. thats new.
|
|