I would like to move the menu to someplace of my choosing (like I will make a table soon and I want the menu in the table). On top of the move of the menu I'd like each button to be on it's own line also in text.
Like now it is:
Home :: Help :: Search
I'd like it like
+ Home
+ Help
+ Search
I will get to this right away.![]()
Alright I did it how you wanted it to be:
Global Header
Code:
- <script type="text/javascript">
- /*Remove :: from Menu
- Created By Wrighty
- support.virtualforums.co.uk*/
- var menu = document.getElementById('menu_buttons');
- menu.innerHTML = menu.innerHTML.replace(new RegExp(" ::","g"),'');
- </script>
- <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(/(home|help|search|profile|admin|members|logout|login|register)/i)){
- x[a].style.display = 'none';
- }
- }
- </script>
- <table border="1" cellspacing="0" cellpadding="0" align="center" vAlign="top">
- <tr>
- <tr>
- <td align="center" class="title1">
- <font size="2">
- Menu
- </font>
- </td>
- <tr>
- </tr>
- <td align="center" class="window1">
- <font size="2">
- <a href="/action/home/">+Home</a>
- <a href="/action/help/">+Help</a>
- <a href="/action/search/">+Search</a>
- <a href="/action/profile/">+Profile</a>
- <a href="/action/admin/">+Admin</a>
- <a href="/action/members/">+Members</a>
- <a href="/action/logout/">+Logout</a>
- <a href="/action/login/">+Login</a>
- <a href="/action/register/">+Register</a>
- </font>
- </td>
- </table>
http://dmtesting.vforums.co.uk
Also if you want to remove the border around the banner area use this:
Global Header
Any questions or any other help just ask![]()
You reminded me of something; Wrighty gave me a code a bit ago to show certain things to certain groups. I'll combine this with the code selection you used. Thanks. ^_^.
Your welcomeGlad I could help again
![]()
Seems my coding skills are some what getting better![]()
Cody was teaching me JS over his summer vacation via snail mail. xD. Too bad he passed away. :[. I still have his old address to the frat he was in. (Cody = california). I should try to learn JS again.
I know who Cody isYeah it is sad.
I need to learn JS too. I can't seem to have my own Custom PM center![]()
Want the code to display different things for members and guests?
Sure PM it to me.