Welcome Guest [Log In] [Register]

Welcome to Big Boards. Big Boards at one time offered the Zathyus network our long famous Resource Archives, our extensive search indexes, and our info-packed resource forums. Eventually, these were made redundant by upgrades to the documentations and expanded search features added to the ZetaBoards software, and this forum then lost relevancy and subsequently became inactive.

Our team then embarked on a new project called Planet Nexus, where a bold new experiment in forum promotion is taking place. We call it nexworking. NexusTree offers social networking pages for forums in a fully automated format. Your NexusTree page is created instantly when your join the nexus. Find out more by visiting Planet Nexus, and become part of the nexworking revolution.

Posted Image Posted Image
If you're already a member please log in to your account for additional access:

Username:   Password:
Closed Topic
Need a code
Topic Started: Jul 5 2009, 09:13 PM (352 Views)
BlueFire
BB Alpha
[ * ]
Board URL: http://advertisingzone.b1.jcink.com
What browser(s) are you using? Firefox
Your Issue/Question: I wanna ask is there any code to hide sub-forums from main index page? I can't find one. If you have then please tell me.
Edited by BlueFire, Jul 5 2009, 09:15 PM.
Posted Image
Offline
Profile
Goto Top
 
Cory
Member Avatar


This code appears to do the trick.
Code:
 
<script type='text/javascript'>
//Remove Sub-Forums by +mw.Tails
var forum = document.getElementsByTagName('span');
for( x=0; x<forum.length; x++){
if( forum[x].className == "desc" && forum[x].innerHTML.match(/Subforums:/i) ){
forum[x].innerHTML = forum[x].innerHTML.split(/Subforums:/i)[0];
}}
</script>
Offline
Profile
Goto Top
 
BlueFire
BB Alpha
[ * ]
Thank you
Posted Image
Offline
Profile
Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Global Support Archive · Next Topic »
Closed Topic