SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to make a question box before site loads?

    I am not sure what to use, javascript or php or what. Also I'm a noob, so detail is much appreciated. Or maybe point to a tutorial or blog showing...
    When a user visits a site, before the page loads I would like a small box (or something, just something simple) to come up (a question). This question will have a specific (one answer) answer. The user can only enter the site if the correct answer is inputed into the box.

  2. #2
    SitePoint Wizard wonshikee's Avatar
    Join Date
    Jan 2007
    Posts
    1,223
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Have a landing page, that only has this question. Once submitted you can redirect them to the proper site with a session flag that allows them into the site.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •