Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Remove :: from Menu (30th Dec 07 at 2:04am UTC) | | This will remove the menu spacer :: from the menu bar... it'll then leave the menu buttons spaced out by 1 space!
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>
| |
|
Danny Full Member
Posts: 180 Status: Offline Gender: Male Location: Durham Age: 33 Joined:
pmmsnxfire | Re: Remove :: from Menu (30th Dec 07 at 3:11am UTC) | | pretty useful code for people using close menu button images | |
|
|
beccagranger Guest | Re: Remove :: from Menu (4th Jan 08 at 11:17am UTC) | | Hey Wrighty, is there any way that I could get this code without the space? No menu spacing, but remove the :: :: still? | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Remove :: from Menu (4th Jan 08 at 11:43am UTC) | | Sure thing!
Code: JavaScript - <script>
- /*Remove :: from Menu
- Created By Wrighty
- support.virtualforums.co.uk*/
-
- var menu = document.getElementById('welcome_table').getElementsByTagName('td')[2];
-
- menu.innerHTML = menu.innerHTML.replace(new RegExp(" :: ","g"),'');
- </script>
try that! | |
|
beccagranger Guest | Re: Remove :: from Menu (4th Jan 08 at 2:22pm UTC) | | You are a sweetheart. Thanks so much, it worked great! | |
|
Dreg[Bot] Moderator
Broken Posts: 415 Status: Offline Gender: Male Age: 37 Joined:
Additional Groups: Coding Team
pmYesh im sneaky! | Re: Remove :: from Menu (6th Jan 08 at 1:23am UTC) | | CSS alternative
Images:
#welcome_table .menu *{ font-size: 0px; } #welcome_table .menu img{ margin-left: 5px; }
Text:
#welcome_table .menu *{ font-size: 0px; } #welcome_table .menu a{ margin-left: 5px; font-size: 13px; } | |
Now obsession rules my mind This commotion makes me blind Searching out who ever runs Or has stolen away my life
But i've already said
Don't ever back down Don't ever turn around My end has come So now I come for you.... |
|
Graystorm New Member
Posts: 20 Status: Offline Joined:
pm | Re: Remove :: from Menu (15th Jan 08 at 2:58am UTC) | | It doesn't work. | |
|
BizzD Full Member
Posts: 306 Status: Offline Gender: Male Location: Washington Joined:
pm | Re: Remove :: from Menu (15th Jan 08 at 4:42am UTC) | | It doesn't work. Which code? | |
|
Graham Support Administrator
Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 39 Joined:
Additional Groups: Support Team
pmwww | Re: Remove :: from Menu (15th Jan 08 at 10:54am UTC) | | It doesn't work.
Can you link the the board which you're trying it? | |
|
Alex Bailey Senior Member
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 32 Joined:
pmmsnaim | Re: Remove :: from Menu (18th Jul 08 at 9:31pm UTC) | | not working when logged in
www.bailey.vforums.co.uk | |
ting-tong2k6@hotmail.com |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Remove :: from Menu (19th Jul 08 at 7:10pm UTC) | | This code should work flawlessly, please link to any forums that are having a problem! | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Remove :: from Menu (30th Jul 08 at 7:52pm UTC) | | If you want to remove all spacing:
Find: (" ::","g" Replace: (" :: ","g" | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Remove :: from Menu (30th Jul 08 at 8:18pm UTC) | | It's in the 4th reply! | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Remove :: from Menu (17th May 09 at 7:50pm UTC) | | Rough preview:
| |
|