Author Topic: [Code] Hide Tabs V2  (Read 2603 times)

0 Members and 0 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
[Code] Hide Tabs V2
« on: December 12, 2012, 10:03:45 pm »
Description: Hides any tabs you want

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("TAB");</script>
Editing Instructions: At the end of the code before the </script>, write xboi209_hidetabs("TAB"); and replace TAB with the name of the tab you want to be removed. To hide multiple tabs, just copy and paste xboi209_hidetabs("TAB"); before </script>.
Note: tab names are case sensitive!
« Last Edit: January 03, 2013, 08:29:29 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 H4MZA_

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #1 on: August 04, 2013, 03:08:27 am »
it doesn't work when i used this


Header:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
Footer:
[size=78%]<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("search");xboi209_hidetabs("profile");</script>[/size]



Header:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Footer:
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("search");</script>




Footer:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("search");</script>


I tried all 3 of those ways but None of them worked


« Last Edit: August 04, 2013, 03:16:43 am by H4MZA_ »

Offline epic_lad

  • Newbie
  • *
  • Posts: 15
  • Karma: -1
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #2 on: August 04, 2013, 03:20:53 am »
Description: Hides any tabs you want

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("TAB");</script>
Editing Instructions: At the end of the code before the </script>, write xboi209_hidetabs("TAB"); and replace TAB with the name of the tab you want to be removed. To hide multiple tabs, just copy and paste xboi209_hidetabs("TAB"); before </script>.
Note: tab names are case sensitive!


Not working for me too. Can you tell me whole script for what to put in Header and Footer. I want to hide my search ,  members and  my messages.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #3 on: August 04, 2013, 06:05:41 pm »
It's case-sensitive, you need to capitalize the S on Search and P on Profile.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline epic_lad

  • Newbie
  • *
  • Posts: 15
  • Karma: -1
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #4 on: August 04, 2013, 08:30:59 pm »
actually i tried eveything. Please do me a favour can you write the full code to hide search, messages and profile tab. So i'll just copy and paste thanks.

Offline outlaw16151

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
  • Gender: Male
  • Arcade Webmaster
  • Location: Plant City Fl
    • View Profile
    • GhostTownArcade
Re: [Code] Hide Tabs V2
« Reply #5 on: August 30, 2014, 03:04:37 pm »
no, doesnt work for me either
Powered by CreateAForum: http://www.ghosttownarcade.com

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #6 on: September 07, 2014, 06:14:12 pm »
Code: [Select]
<script>function xboi209_hidetabs(tab){$("#menu_nav > li:contains('"+tab+"')").remove();}xboi209_hidetabs("Search");</script>
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline outlaw16151

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
  • Gender: Male
  • Arcade Webmaster
  • Location: Plant City Fl
    • View Profile
    • GhostTownArcade
Re: [Code] Hide Tabs V2
« Reply #7 on: September 15, 2014, 07:03:00 pm »
i wanted to hide the Forum link, it dont hide any links
Powered by CreateAForum: http://www.ghosttownarcade.com

Offline CyanProductions

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
    • View Profile
Re: [Code] Hide Tabs V2
« Reply #8 on: January 03, 2015, 11:48:22 pm »
How do you use it to hide custom tabs?

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1322 Views
Last post August 28, 2014, 04:47:47 pm
by outlaw16151
0 Replies
623 Views
Last post May 28, 2012, 12:12:15 am
by aIURbliS
0 Replies
152 Views
Last post November 29, 2013, 02:44:36 am
by Sara50840
0 Replies
363 Views
Last post January 04, 2015, 12:14:12 am
by CyanProductions
1 Replies
356 Views
Last post January 04, 2015, 01:07:59 am
by CyanProductions