0

I have created a colorbox effect to show the login form when the home page loads using the following jQuery code:

jQuery(document).ready(function() { 
  jQuery.fn.colorbox(
    {href:"user/login/colorbox",open:true}
  ); 
}); 

Now I want to do the same to display a registration form, but this registration form should only be displayed one time.

Please can any one help me find a solution..

1 Answer 1

0

I would suggest writing a cookie after showing the login form and checking if the cookie exists before that. For cookies there's a nifty jquery plugin as well - no big programming involved on your side. HTH

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.