vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Remove :: from Menu - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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! {Smile}

Global Header

Code:
 
  1. <script type="text/javascript">
  2. /*Remove  ::  from Menu
  3. Created By Wrighty
  4. support.virtualforums.co.uk*/
  5.  
  6. var menu = document.getElementById('menu_buttons');
  7.  
  8. menu.innerHTML = menu.innerHTML.replace(new RegExp(" ::","g"),'');
  9. </script>
 
Danny
Full Member
***

[Avatar]

Posts: 180
Status: Offline
Gender: Male
Location: Durham
Age: 32
Joined:  
Reputation: 1%  


pmmsnxfire
Re: Remove :: from Menu (30th Dec 07 at 3:11am UTC)
pretty useful code for people using close menu button images {Smile}

Myspace | deviantART

"Suffer For Your Art"
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? {Grin} No menu spacing, but remove the :: :: still?
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Remove :: from Menu (4th Jan 08 at 11:43am UTC)
Sure thing! {Cheesy}

Code: JavaScript
 
  1. <script>
  2. /*Remove  ::  from Menu
  3. Created By Wrighty
  4. support.virtualforums.co.uk*/
  5.  
  6. var menu = document.getElementById('welcome_table').getElementsByTagName('td')[2];
  7.  
  8. menu.innerHTML = menu.innerHTML.replace(new RegExp(" :: ","g"),'');
  9. </script>
 


try that! {Smile}
beccagranger
Guest
Re: Remove :: from Menu (4th Jan 08 at 2:22pm UTC)
You are a sweetheart. {Kiss} Thanks so much, it worked great!
Dreg[Bot]
Moderator
*****

[Avatar]
Broken

Posts: 415
Status: Offline
Gender: Male
Age: 36
Joined:  

Additional Groups:
Coding Team
***


Reputation: 14%  


pm
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;
}


Image

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:  
Reputation: 0%  


pm
Re: Remove :: from Menu (15th Jan 08 at 2:58am UTC)
It doesn't work. {Unsure}
BizzD
Full Member
***

Posts: 306
Status: Offline
Gender: Male
Location: Washington
Joined:  
Reputation: 0%  


pm
Re: Remove :: from Menu (15th Jan 08 at 4:42am UTC)
 
It doesn't work. {Unsure}

Which code?
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 38
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: Remove :: from Menu (15th Jan 08 at 10:54am UTC)
 
It doesn't work. {Unsure}


Can you link the the board which you're trying it? {Smile}
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 32
Joined:  
Reputation: 8%  


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
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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! {Smile}
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 34
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: Remove :: from Menu (30th Jul 08 at 7:52pm UTC)
If you want to remove all spacing:

Find: (" ::","g"
Replace: (" :: ","g"
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Remove :: from Menu (30th Jul 08 at 8:18pm UTC)
It's in the 4th reply! {Wink}
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 34
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: Remove :: from Menu (17th May 09 at 7:50pm UTC)
Rough preview:
Image
 Printable View

All times are GMT+0 :: The current time is 5:24pm
Page generated in 3.8395 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums