News:

Create A Forum Installed

Author Topic: [Code] Hide tabs  (Read 1595 times)

0 Members and 2 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
[Code] Hide tabs
« on: February 20, 2012, 09:19:53 pm »
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 Headers:

Quote
<script>var tabs="X";$(document).ready(function(){$("li#button_"+tabs).html("")});</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

5) Save
« Last Edit: August 12, 2012, 03:41:46 pm by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


Offline epic_lad

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

Badges: (View All)
Search Mobile User Level 2
Re: [Code] Hide tabs
« Reply #1 on: August 03, 2013, 11:29:25 pm »
i can't hide more then 1 tab. Can you please give an example for how to hide more then 1 tab.
Thanks

Offline outlaw16151

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
  • Gender: Male
  • Arcade Webmaster
  • Location: Plant City Fl
    • View Profile
    • GhostTownArcade

Badges: (View All)
Linux User Mobile User 10 Posts
Re: [Code] Hide tabs
« Reply #2 on: August 28, 2014, 04:47:47 pm »
code does not work for hiding tabs
Powered by CreateAForum: http://www.ghosttownarcade.com

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
3192 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
0 Replies
533 Views
Last post January 04, 2015, 12:14:12 am
by CyanProductions
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