[jQuery] Remove content of div if on /login.php?action=logout page

2009-10-09 Thread Painstik
Can it be done? If user comes to this page: mypage.com/login.php?action=logout To remove this div conent: div id=LoginContainer style= Please help...

[jQuery] Re: Hide/Show if logged in

2009-10-09 Thread Painstik
No it is not a trick question, I am new with jquery. I decided to do it on server side, thanks for help.

[jQuery] Re: Remove content of div if on /login.php?action=logout page

2009-10-09 Thread Painstik
I have found something... I used url parser i found... the code goes like this... $(document).ready(function() { var match = jQuery.url.attr('relative'); var $b = 'login.php'; if(match == $b) { $('#LoginContainer').remove() }; });

[jQuery] Hide/Show if logged in

2009-10-08 Thread Painstik
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%%