ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Move / Menu Reformat (20th Oct 08 at 11:00pm UTC) | | 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 | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Move / Menu Reformat (23rd Oct 08 at 5:31am UTC) | | I will get to this right away. | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Move / Menu Reformat (23rd Oct 08 at 6:36am UTC) | | 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
Code: - <script>
- get('welcome_table','id').cellSpacing = '0';
- </script>
Any questions or any other help just ask | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Move / Menu Reformat (23rd Oct 08 at 3:19pm UTC) | | 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. ^_^. | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Move / Menu Reformat (23rd Oct 08 at 5:27pm UTC) | | Your welcome Glad I could help again
Seems my coding skills are some what getting better | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Move / Menu Reformat (23rd Oct 08 at 5:31pm UTC) | | 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. | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Move / Menu Reformat (23rd Oct 08 at 5:40pm UTC) | | I know who Cody is Yeah it is sad.
I need to learn JS too. I can't seem to have my own Custom PM center | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Move / Menu Reformat (23rd Oct 08 at 8:05pm UTC) | | Want the code to display different things for members and guests? | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Move / Menu Reformat (23rd Oct 08 at 8:27pm UTC) | | Sure PM it to me. | |
|