I wanted to create a site which should display an registration form in lightbox view. I tried to alter the page--front.tpl.php to get this effect but i didnt succed. The lightbox effect of the display should happen when ever the site is viewed. jQuery(document).ready(function() { jQuery(".menu-item-694").triggerHandler("click"); }); can any one say how to get this effect with lightbox or whats wrong in my code displayed above. Thanks in advance.

2 Answers 2


Try the Colorbox module, this offers this functionality.


There is one more module Modal Form, which allows common forms to view in overlay style.

Your Answer

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