[support] Which module would create jQuery splash page?

Steve Power steev at initsix.co.uk
Wed Jun 10 19:35:58 UTC 2009


Advanced front page will do the necessary regarding the front page (from
various places as well i think), and for the jquery, i guess you could maybe
bind a lightbox to onload? (im guessing, never done it dont know if its
possible.)

On Wed, Jun 10, 2009 at 8:32 PM, Fred Jones <fredthejonester at gmail.com>wrote:

> > I was wondering how to create a situation whereby a first-time visitor
> would
> > see the website overlayed by a "jQuery/Lightbox-esque" modal window
> warning
> > them that the site contains adult language, and that they could then
> click
> > "I understand" or something to make it go away.
> >
> > I don't want to use a separate page to do this (ala, the 'Front Page'
> > module).
>
> It sounds like you would need to store a cookie if you only want
> "first time visitors" to see this message. Furthermore, it sounds like
> the front page is not the only candidate for this feature, because
> visitors may well enter your site from other URLs, from Google or from
> other sites which link to internal pages on yours.
>
> If the above is correct, then it sounds like you would need custom
> jQuery code which would run on every page. It would look for the
> existence (and value) of that cookie and then based on that, decide
> whether or not to show the message.
>
> And of course when the users clicks that he understands, the jQuery
> would set the cookie.
>
> That's my first thoughts anyhow.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
-- 
--
Steve Power
Principal Consultant
Mobile: +44 (0) 7747 027 243
Initsix Technology and Media
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090610/2f4d70c0/attachment.htm>


More information about the support mailing list