|
Post by Dragon on Dec 18, 2011 9:01:47 GMT -8
<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 .className=="titlebg" && t.innerHTML.match(/Sub-Boards/i)){ t.parentNode.style.display="none"; break; } } } </script>
I used the vabove code to hide the entire subboard area. Except however for the black borders (1 pixel black line remains I assume its the borders) and the head/base image.
Is there anyway to code in and remove the entire area to include what the code above didnt?
Heres where I used the code: cloudianpublicity.com/index.cgi?board=tvshows
|
|
|
Post by Wormopolis on Dec 18, 2011 13:14:02 GMT -8
what code is doing the head base images?
|
|
|
Post by Dragon on Dec 18, 2011 14:28:49 GMT -8
The basic forum customize I believe by Sub. 1 sec, Ill check to make sure.
Yeah: /* ProBoard Forum Customize v1.0 by SubDevo */
|
|
|
Post by Dragon on Dec 18, 2011 14:32:10 GMT -8
On that code the normal thread/stickys dont seem to be working to do their job. So its possible I have an error in the code.
|
|
|
Post by Wormopolis on Dec 18, 2011 15:19:44 GMT -8
the ipokemon code has an error in it. the "none" at the end of one of the lines has a space in it
|
|
|
Post by Dragon on Dec 18, 2011 16:22:17 GMT -8
Ah! Thanks.. fixed.
Yeah the ipokemon code: /* Remove Sub-Board from Board Index Is the code I was supposed to mention earlier, put up only the other one. Even so I don't think it was designed at all to remove the head/base images.
|
|
|
Post by Wormopolis on Dec 18, 2011 23:05:50 GMT -8
what happens when you change that to a 1?
removeBoard("tvlocations",0);
|
|
|
Post by Dragon on Dec 19, 2011 20:13:46 GMT -8
Hmmm it caused an error last time I tried that. iPokemon didnt clearly explain the vars either. I think when we fixed the code error it allowed it to work. So yeah, put it at 0 and the code started blocking the whole area. I guess that means 1 is just the one board and 0 is the whole area ? I dunno.
Thanks for the help though Wormo.
|
|
|
Post by Wormopolis on Dec 20, 2011 0:18:55 GMT -8
it looks like its working now then?
|
|
|
Post by Dragon on Dec 22, 2011 0:22:37 GMT -8
Yeah, with that tiny error fixed I think so. I still need to test it to make sure. So much to do :/
Merry Christmas Wormo.
|
|