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.
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?
http://support.virtualforums.co.uk/board/database/action/vie w_topic/topic/14868
the splitter isn't working before the Shop button as it is before the others.
Bumpsies!
Use this in place of the add menu buttons code and ensure it is placed before the menu splitter code
Code: JavaScript
- <script>
- /*Add Menu Buttons
- Created By Wrighty
- support.virtualforums.co.uk*/
- var menu = document.getElementById('menu_buttons').getElementsByTagName('font')[0];
- function do_menu(a_text,link){
- menu.innerHTML+= " :: <a href="+link+">"+a_text+"</a>";
- }
- do_menu('Shop','http://teenrevival.vforums.co.uk');
- </script>
Thanks Ross
+rep
HELPPPPPPP! 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.
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
Just a check PM's button.
With Check PM's and the url.
Bump!
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 (\).
Code:
- <script>
- /*Add Menu Buttons
- Created By Wrighty
- support.virtualforums.co.uk*/
- var menu = document.getElementById('menu_buttons').getElementsByTagName('font')[0];
- function do_menu(a_text,link){
- menu.innerHTML+= " :: <a href="+link+">"+a_text+"</a>";
- }
- do_menu('Shop','http://teenrevival.vforums.co.uk');
- do_menu('Check PM\'s','http://teenrevival.vforums.co.uk/action/pm/');
- </script>
Thanks, Marc!
No worries.