DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Create a Forum Codes and Support
*****************************************************
#Post#: 15035--------------------------------------------------
[Code] Hide Tabs (Compacted)
By: CyanProductions Date: January 3, 2015, 6:14 pm
---------------------------------------------------------
This code will be able to hide any tab you want.
Instructions:
1) Go to your Headers & Footers
HTML http://FORUM.createaforum.com/index.php?action=admin;area=style;sa=headers;
HTML http://forum.createaforum.com/index.php?action=admin;area=style;sa=headers;
2) This code utilizes jQuery, please use the latest version
found in this thread:
HTML http://support.createaforum.com/5/jquery-v1-8-update/
HTML http://support.createaforum.com/5/jquery-v1-8-update/
3) Copy and paste this code in your Footers:
[quote]<script>var tab="X";
$("li#button_"+tab).remove()</script>[/quote]
4) Replace the red X with one of the following:
Actual Tab Replace X with
Home home
Help help
Search search
Admin admin
Moderate moderate
Profile profile
My Messages pm
Calendar calendar
Arcade arcade
Gallery gallery
Members mlist
Chat chat
Logout logout
Custom Tab cusY - Replace the Y with
the number of the tab in order of creation
5) Save
*****************************************************