SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Wizard
    Join Date
    Dec 2005
    0 Post(s)
    0 Thread(s)

    How to show popup on entering the site?

    Hi guys, I need a way to prompt the user on entering the site, with the option to click yes or no in a lightbox sort of popup just fading over the homepage.

    I tried the basic javascript 'window.onLoad = popupMsg..' but I need some sort of iframe I think so I can enter html, whats the best way?

    Another problem is if I have this message loading when the user enters the site, every time they click back to the homepage they will see this popup again and again, how can I track this user knowing they have already clicked yes and don't prompt them again. Will I need a session of some sort?

    Any suggestions?

    Last edited by computerbarry; May 17, 2009 at 19:29.
    The more you learn.... the more you learn there is more to learn.


Posting Permissions

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