vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: Menu splitter support - View Topic
Topic Rating: *****
Printable View
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Menu splitter support (30th Aug 08 at 5:00am UTC)
http://teenrevival.vforums.co.uk

So, basically the menu splitter isn't working with the Add Menu Buttons Code.... it was before, when I had the floating menu, but now it isn't.




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Menu splitter support (30th Aug 08 at 7:49pm UTC)
I'm not familiar with that this "Menu Splitter" is supposed to do. Have you got a link to it / an example of what you would like to achieve? {Smile}

Image
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (1st Sep 08 at 9:17am UTC)
http://support.virtualforums.co.uk/board/database/action/view_topic/topic/14868

the splitter isn't working before the Shop button as it is before the others.




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (8th Sep 08 at 8:19am UTC)
Bumpsies!




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Menu splitter support (9th Sep 08 at 11:18pm UTC)
Use this in place of the add menu buttons code and ensure it is placed before the menu splitter code {Smile}

Code: JavaScript
 
  1. <script>
  2. /*Add Menu Buttons
  3. Created By Wrighty
  4. support.virtualforums.co.uk*/
  5.  
  6. var menu = document.getElementById('menu_buttons').getElementsByTagName('font')[0];
  7.  
  8. function do_menu(a_text,link){
  9. menu.innerHTML+= " :: <a href="+link+">"+a_text+"</a>";
  10. }
  11.  
  12. do_menu('Shop','http://teenrevival.vforums.co.uk');
  13. </script>
 

Image
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (10th Sep 08 at 6:52am UTC)
Thanks Ross

+rep




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (12th Sep 08 at 11:30pm UTC)
HELPPPPPPP! {Tongue Out} As soon as I duplicate the last line {do_menu('Shop','http://teenrevival.vforums.co.uk');} to add a check pm's button it doesn't show either buttons.




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Menu splitter support (14th Sep 08 at 9:51pm UTC)
Can you post exactly what you're trying to use as the second button? I just tried it out on your forum and it showed a second button fine for me {Smile}

Image
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (16th Sep 08 at 8:45am UTC)
Just a check PM's button.

With Check PM's and the url.




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (18th Sep 08 at 10:05am UTC)
Bump!




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Menu splitter support (18th Sep 08 at 9:13pm UTC)
I can only assume that the issue was cause by the apostrophe in "Check PM's". Be sure when using this code to escape apostrophes with a backslash (\). {Wink}

Code:
 
  1. <script>
  2. /*Add Menu Buttons
  3. Created By Wrighty
  4. support.virtualforums.co.uk*/
  5.  
  6. var menu = document.getElementById('menu_buttons').getElementsByTagName('font')[0];
  7.  
  8. function do_menu(a_text,link){
  9. menu.innerHTML+= " :: <a href="+link+">"+a_text+"</a>";
  10. }
  11.  
  12. do_menu('Shop','http://teenrevival.vforums.co.uk');
  13. do_menu('Check PM\'s','http://teenrevival.vforums.co.uk/action/pm/');
  14. </script>
 


{Smile}

rroll.to— Shorten a link, rickroll your friends.
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Menu splitter support (19th Sep 08 at 10:38am UTC)
Thanks, Marc!




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Menu splitter support (20th Sep 08 at 6:10pm UTC)
No worries. {Smile}

rroll.to— Shorten a link, rickroll your friends.
 Printable View

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