vForums Support > Programming & Coding :: Code Requests & Support :: > Remove Lines

Remove Lines - Posted By CåñåÐå™ (canada) on 8th Sep 08 at 9:32pm
Would it be possible to get an code that will remove the lines that Separates the boards in the Categories please .

I would like the borders around the Category to stay but the line inside the category that is Seperating the boards only to be removed.

Re: Remove Lines - Posted By Ross (admin) on 9th Sep 08 at 11:14pm
Hi,

Quick check. The categories are separated from one another?

Re: Remove Lines - Posted By CåñåÐå™ (canada) on 10th Sep 08 at 3:06am
 
Hi,

Quick check. The categories are separated from one another?

Hi Ross.

You how the category holds the boards and say one is (Forum News) and your second board is (General Talk) there is a line that separates those two boards from each other and the line that also separate the last post. Those are the lines if possible i would like to remove please. But the outside lines (that's around the category i would like those to stay). If it can't be done its cool {Smile} .


Re: Remove Lines - Posted By Ross (admin) on 10th Sep 08 at 10:46pm
I think I get what you mean. Give this a try in the main footer {Smile}

Code: JavaScript
 
  1. <script type="text/javascript">
  2.  
  3. var tbody = get('tbody', TAG);
  4. for(t=0; t<tbody.length; t++) {
  5.     if(tbody[t].className == 'board_holder') {
  6.         tbody[t].parentNode.cellSpacing = '0';
  7.         tbody[t].parentNode.style.border = '1px solid #336699';
  8.     }
  9. }
  10. </script>
 


Replace 336699 with your border color {Smile}

Re: Remove Lines - Posted By CåñåÐå™ (canada) on 11th Sep 08 at 3:33am
Thank you Ross it is what i wanted and the code works fine thanks again {Grin} .