Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Ayende Rahien 2/25/2005 3:45 AM
If you are using css to show the menu's items with contrasting colors, you'll get an empty box when you're not logged as If you are using css to show the menu's items with contrasting colors, you'll get an empty box when you're not logged as administrator because the >li<>/li< is sent anyway
The solution to this is to edit Nav1.ascx and add the following:
(Convert the { to >, etc, because the form refuse to post otherwise)
{%=hplAdmin.Visible? "{li}" : ""%}
{asp:hyperlink id="hplAdmin" runat="server" visible="False"}Admin{/asp:hyperlink}
{%=hplAdmin.Visible? "{/li}":""%}
# martijnb 2/25/2005 4:27 AM
You could also try the new menu (nav.ascx) that doesn't have this issue anymore.