Opacity overlap fixer « Thread Started on Dec 3, 2004, 1:01am »
[obsolete]
If you've noticed, ethix's opacity (which is what this board uses) didn't seem to work when posting or viewing a post. This is because ProBoards coding reassigns the classes three times for no reason on those pages. This is what I'm talking about:
The class is assigned three times. This causes there to be a triple overlap, so unless the opacity of your PNG images is set very low, the opacity will be over 100% and therefore unnoticable.
Obviously a huge ProBoards coding error. The class is black? wth? This is the bottom title bar when viewing a post.
I have written a code to correct all these errors. It basically removes the classes of any table cell that is within another table cell of the same class. It also sets the classes of ALL tables to "bordercolor" unless they don't have a class assigned (or are quotes/codes).
Important: If you have "Remove Last Edit Checkbox v1.3" , this code should below it, or there the checkbox won't appear (no I'm not sure why).. I'd recommend placing it as low as possible in your footers.
BOARD FOOTERS ONLY
Code:
<script language="javascript" type="text/javascript"> <!-- /* opacity overlap fixer by california use and post freely as long as this header stays intact */
var TD=document.getElementsByTagName("td"); var table=document.getElementsByTagName("table"); var innerCell; for(i=0;i<TD.length;i++){ TD[i].bgColor='transparent'; innerCell=TD[i].getElementsByTagName("td"); for(j=0;j<innerCell.length;j++) if(TD[i].className==innerCell[j].className) innerCell[j].className=''; } for(k=0;k<table.length;k++){ table[k].bgColor='transparent'; if((table[k].className.match(/(windowbg|000000)/i)) || ((table[k].align != "center") && (table[k].className=="titlebg"))) table[k].className='bordercolor'; } // --> </script>
Re: Opacity overlap fixer « Reply #1 on Mar 13, 2006, 7:59pm »
This won't work....I'm use the opacity code, and it looks normal, but links and such are being covered by the opacity stuff. So you can't click them, and I use the code and it does nothing...
Re: Opacity overlap fixer « Reply #2 on Mar 13, 2006, 11:33pm »
It's obsolete because the three ProBoard markup errors noted in the original post were corrected nearly a year ago. There's no solution because there's no problem anymore. And take a look at what board you're in...