A code to split the sub-boards (Put a space between each of the sub-board) so they are separated from each other. Thanks.
Would you like each board to have head/base images?![]()
I would like to , would it make a differents that i have about 7 template/skins on the forum ?
If it does then don't worry about head/base image bro.
Or which way is better for you is fine with me.![]()
Thanks Marc.
You seem to be forgetting that vForums comes built-in with separate headers/footers for separate skins.![]()
I'll get this to you tomorrow.![]()
I didn't really, i just didn't know how you would do it.
Thank you Marc .
try this!![]()
<script>
/*Split Sub-boards
Wrighty
No Repost, rip, or claiming!*/
if(location.href.match(/board/)){
var a = get('tr','tag')
var h = document.createElement('div');
var s = document.createElement('div');
s.style.height = '20px';
var x;
for(z = 0; z < a.length; z++){
if(a[z].id.match(/board_/)){
x = a[z].parentNode.parentNode;
var t = document.createElement('table');
with(t){
cellSpacing = '1';
cellPadding = '3';
className = 'border';
width = vf_width;
align = 'center';
}
t.appendChild(a[z].cloneNode(true));
h.appendChild(get('table','tag')[0].cloneNode(true));
h.appendChild(t);
h.appendChild(get('table','tag')[3].cloneNode(true));
h.appendChild(s.cloneNode(true));
}
}
x.parentNode.previousSibling.style.display = 'none';
x.parentNode.nextSibling.style.display = 'none';
x.parentNode.replaceChild(h, x);
}
</script>
Global Footers.
Probably will be bugs as I haven't got any head/base to test with!![]()
Yeah there is one bug that i can see , the code is in the near top of the global footer. If you need to see what the sub-boards look like (i'm sorry but you'll have to login wrighty). But here are two screen shots, if it will help.
![]()
Yes I know hwy, I'll get to a fix soon!![]()
Ok thanks Wrighty.
Any word on this WrightyYes I know hwy, I'll get to a fix soon!![]()
.
I'm only doing this in case you forgot Wrighty.
I did.... but I was very busy over the weekend.
Should be doing it tonight!![]()
Cool thanks bro.
Recopy the code!![]()
Thank you Wrighty it works fine, peace
.
![]()
Glad to help!