Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Remove Select Menu Buttons (25th Apr 08 at 4:01pm UTC) | | This code will allow you to choose which menu buttons you want to remove from the menu bar.
Edit the red part. Just add the name of the button. eg: home, help, profile, register, login, logout etc...
To add more just add another vertical line then the name. eg: (home|help|search|profile)
<script> /*Remove Select Menu Buttons Created By Wrighty Do Not: Rip, Repost or Claim*/
var y = get('menu_buttons','id'); var x = y.getElementsByTagName('a'); for(a=0;a<x.length;a++){ if(x[a].getElementsByTagName('img')[0].alt.match(/(help|profile)/i)){ x[a].style.display = 'none'; } } </script>
Global Header | |
|
Aiken Full Member
Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:
pmskypemsnyahooxfire | |
Graham Support Administrator
Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 39 Joined:
Additional Groups: Support Team
pmwww | Re: Remove Select Menu Buttons (30th Dec 09 at 9:54am UTC) | |
Can you give more details please?
Pop a thread in the Code Support board and we'll take a look at it for you | |
|
Aiken Full Member
Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:
pmskypemsnyahooxfire | |
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Remove Select Menu Buttons (30th Dec 09 at 12:16pm UTC) | | As graham said, throw a thread in the Code Support board, with a forum URL, and we'll help | |
|