I'm not sure if this is a trick question or not... // if logging out $("#LoggedIn").hide(); $("#LoggedOut").show();
On Oct 8, 4:19 pm, Painstik <pains...@gmail.com> wrote: > Hi everyone, I can't get this out, i searched everywhere and didn't > find solution... > > <div id="LoggedOut"> > <fieldset id="signin_menu"> > <form action="%%GLOBAL_ShopPath%%/login.php?action=check_login" > method="post" id="signin" onsubmit="return check_login_form()"> > <p style="display: %%GLOBAL_HideLoginMessage%%" class="% > %GLOBAL_MessageClass%%"> > %%GLOBAL_LoginMessage% > % > </p> > <label for="login_email">Email</label> > <input type="text" class="Textbox Field150 > InitialFocus" name="login_email" id="login_email" /> > </p> > <p> > <label for="password">Lozinka</label> > <input type="password" class="Textbox Field150" > name="login_pass" id="login_pass" /> > </p> > <p class="remember"> > <input id="signin_submit" value="Sign in" tabindex="6" > type="submit"> > </p> > </form> > </fieldset> > </div> > > <div id="LoggedIn">Welcome</div , > > I want div 'LoggedOut' to be switched with div 'LoggedIn', based on > user login condition. If logged out show div 'LoggedOut' else hide > 'LoggedOut' div and show 'LoggedIn div'. > > Thanks for help.