News:

Create A Forum Installed

Author Topic: [Code] Hide Tabs (Compacted)  (Read 534 times)

0 Members and 1 Guest are viewing this topic.

Offline CyanProductions

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
    • View Profile

Badges: (View All)
Level 3 10 Posts Karma Good
[Code] Hide Tabs (Compacted)
« on: January 04, 2015, 12:14:12 am »



This code will be able to hide any tab you want.


Instructions:
1) Go to your Headers & Footers  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: 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>


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

Share on Facebook Share on Twitter


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1595 Views
Last post August 28, 2014, 04:47:47 pm
by outlaw16151
8 Replies
3194 Views
Last post January 03, 2015, 11:48:22 pm
by CyanProductions
0 Replies
284 Views
Last post November 29, 2013, 02:44:36 am
by Sara50840
1 Replies
678 Views
Last post January 04, 2015, 01:07:59 am
by CyanProductions
9 Replies
236 Views
Last post November 15, 2021, 01:29:40 am
by CreateAForum