News:

Create A Forum Installed

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

0 Members and 0 Guests are viewing this topic.

Offline CyanProductions

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
    • View Profile
[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 Bluesky Share on Facebook


 

Related Topics

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