Hello! I'm running Drupal 6.13 and Lightbox2 version 6x-1.11. I have a working lightbox set up in the homepage template with the following code to automatically pop up when the page is loaded (just a basic linked image): <div id="lightboxAutoModal" rel="lightmodal[|width:600px; height:500px; scrolling:auto;]" style="display:none;"><a href="/donate"><img src="/docs/images/donatelightbox.jpg" /></a></div> The obvious problem is, of course, that it pops up every time the page is accessed. Would anyone know how and where to add a cookie so that the lightbox only appears for a user once? Any help is greatly appreciated!
The "what would seth godin do" module allows you to display a single block (the modal window code in this case) for new users. You can set it to display a limited number of times for each new user. http://drupal.org/project/wwsgd Ron custom drupal websites