Create A Forum - Support Forums

Support => Create a Forum Codes and Support => Topic started by: aIURbliS on December 12, 2012, 10:03:45 pm

Title: [Code] Hide Tabs V2
Post by: aIURbliS 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/ (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!
Title: Re: [Code] Hide Tabs V2
Post by: H4MZA_ 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 (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 (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 (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


Title: Re: [Code] Hide Tabs V2
Post by: epic_lad 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/ (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.
Title: Re: [Code] Hide Tabs V2
Post by: aIURbliS on August 04, 2013, 06:05:41 pm
It's case-sensitive, you need to capitalize the S on Search and P on Profile.
Title: Re: [Code] Hide Tabs V2
Post by: epic_lad 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.
Title: Re: [Code] Hide Tabs V2
Post by: outlaw16151 on August 30, 2014, 03:04:37 pm
no, doesnt work for me either
Title: Re: [Code] Hide Tabs V2
Post by: aIURbliS 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>
Title: Re: [Code] Hide Tabs V2
Post by: outlaw16151 on September 15, 2014, 07:03:00 pm
i wanted to hide the Forum link, it dont hide any links
Title: Re: [Code] Hide Tabs V2
Post by: CyanProductions on January 03, 2015, 11:48:22 pm
How do you use it to hide custom tabs?