Wrighty can i get a mod of you Add Menu Button code so that guests can see the button...plz?
They should be able to anyway.
oops spelling error i mean cant![]()
Edit: Also I just have to say your avatar cracks me up, it always lands on the ones the best fits the topicsorry i know its random.
It's ok!![]()
I'll get to this after I'm back!![]()
ok i'll be waiting
Text or image one?
image
Try this:
Code:
- <script>
- /*Add Menu Buttons
- Created By Wrighty
- support.virtualforums.co.uk*/
- var menu = document.getElementById('welcome_table').getElementsByTagName('td')[2];
- function do_menu(img_src,link, guest){
- if(guest){
- menu.innerHTML+= " :: <a href="+link+"><img src='"+img_src+"' border=0></a>";
- }else{
- if(vf_username != 'guest'){
- menu.innerHTML+= " :: <a href="+link+"><img src='"+img_src+"' border=0></a>";
- }
- }
- }
- do_menu('Image Link','Link to page', true);
- </script>
true means that it will be shown to guests as well as members.
false means that it WONT be shown to guests.
(Untested)
ok that work, ty