I need some help with a nav bar
Page 1 of 1 • Share •
I need some help with a nav bar
Hello, on my forum I've created a customized nav bar. It works great, the only problem is that because I had to make its code and insert it in my CSS, every button shows, which I do not want. the "log in" button shows to those who are logged in, and the "log out" button shows to those who haven't logged in, as well as the "register" button always showing, the "profile" button always showing, and the "messages" buttons always showing. Does anyone have / know the code that specifies which buttons to show, depending on the fact if a member is logged in, or a guest?
That is all I need, just a code to make buttons only show to visitors, and others only show to logged in members.
No, I cannot use the Pages Navigation section to do this, because I had to make my OWN nav bar, so the navigation check boxes do not good in this situation.
So please, if you can help me AT ALL with this, please do so.
Regards,
notMiceElf
That is all I need, just a code to make buttons only show to visitors, and others only show to logged in members.
No, I cannot use the Pages Navigation section to do this, because I had to make my OWN nav bar, so the navigation check boxes do not good in this situation.
So please, if you can help me AT ALL with this, please do so.
Regards,
notMiceElf
notMiceElf- Unborn

- Posts: 3
Operating System: XP
Joined: 2009-06-03
Re: I need some help with a nav bar
Perhaps you can use Javascript to check if certain signs which are seen only by members and use it to run a function to hide certain buttons when true.
______________________________


Agent Cosmic- Global Moderator | Developer

- Posts: 2940
Operating System: Windows XP Professional
Joined: 2008-03-07
Re: I need some help with a nav bar
Agent Cosmic wrote:Perhaps you can use Javascript to check if certain signs which are seen only by members and use it to run a function to hide certain buttons when true.
thanks, that's along the lines of what I knew I needed. I've been looking through all CSS pages lookng for a code similar to "iflogged="false"" or something similar, but still no luck.
notMiceElf- Unborn

- Posts: 3
Operating System: XP
Joined: 2009-06-03
Permissions of this forum:
You cannot reply to topics in this forum












by 