Example #1
0
        public void SetActiveNav(ActiveNav activeNav)
        {
            switch (activeNav)
            {
            case ActiveNav.LogIn:
                LogIn.AddCssClass("active");
                CreateAccount.RemoveCssClass("active");
                break;

            case ActiveNav.CreateAccount:
                CreateAccount.AddCssClass("active");
                LogIn.RemoveCssClass("active");
                break;

            default:
                LogIn.RemoveCssClass("active");
                CreateAccount.RemoveCssClass("active");
                break;
            }
        }