R/E/T/N
Full Member
PM me to be a coding mod and work with some of the best designers on a great forum.
Posts: 245
|
Post by R/E/T/N on Feb 7, 2006 21:43:13 GMT
Hehe, Going crazy with codes here. Note: This code WILL NOT work with "Remove 'Forum Name" bar" codes. <script type="text/javascript"> /* Erase On/Off Icons By Technical Do not repost without permission Leave this header intact */
var td = document.getElementsByTagName("TD");
for(t=0; t<td.length;t++){ if(td[t].width == "2%" && td[t].innerHTML.match(/Topics/i) && td[t].className == "titlebg"){ td[t+4].style.display='none'
}} </script>
Main Headers
|
|
|
Post by acoolie530 on Feb 7, 2006 21:57:46 GMT
First of all, that would only remove the first on/off icon. Second of all, the code is not properly closed, requiring two more closing brackets.
|
|
|
Post by crazynarutard on Feb 7, 2006 22:44:19 GMT
Test the code before posting please.
I will give you 24 hours to fix the code.
|
|
R/E/T/N
Full Member
PM me to be a coding mod and work with some of the best designers on a great forum.
Posts: 245
|
Post by R/E/T/N on Feb 8, 2006 0:30:21 GMT
Fixed, typo.
|
|
|
Post by Eric on Feb 8, 2006 0:51:09 GMT
It still only hides one icon...
|
|
R/E/T/N
Full Member
PM me to be a coding mod and work with some of the best designers on a great forum.
Posts: 245
|
Post by R/E/T/N on Feb 8, 2006 1:00:10 GMT
Oh, sorry I tested it on a site with one board. Stupid Stupid ^_^ Go ahead and lock it if you want, but I would appreciate if someone could give me the full code. Thanks.
|
|
|
Post by crazynarutard on Feb 8, 2006 2:09:12 GMT
<script type='text/javascript'>
if( this.location.href.match(/\.com(\/(index\.cgi(#\w+|\?(action=home)?)?)?)?$/)) { var cells = document.body.getElementsByTagName('td'); for( var c = 0 ; c < cells.length ; c ++ ) { if( cells[c].width == '8%' ) { cells[c].style.display = 'none'; } } } </script>
|
|