dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: pop up window or alert boxes

  1. #1
    Join Date
    Aug 2007
    Posts
    2

    pop up window or alert boxes

    I would like to display an alert box / pop up box for a particular time only. If alert box is not checked for a long time, I would like the page to be redirected to some other page. For example, display the alert box for 5 minutes, if the user isnt clicking ok on the alert box, after five minutes, the page will be redirected to another page..

    SRB

  2. #2
    Join Date
    May 2005
    Location
    Dirty Jersey
    Posts
    1,402
    only possible with a pop up window. when you call an alert box, all javascript processing halts until that box is acknowledged.

    with a popup window, the window loads, and the script continues. then you can have hooks in your code that will call back to see if a certain response has been received in X amount of time. if not, redirect to another page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles