Popup box

Discussion in 'Javascript' started by Paul, Aug 13, 2003.

  1. Paul

    Paul Guest

    Ideally I would like to do this in just HTML but either way works for me.
    I need a script much like the one below but without the button so that as
    soon as the page loads it brings up the warning window while remaining on
    the parent page. It will be implemented in a condition within a PHP
    statement to echo the output below if the user has his/her cookies disabled.

    <form>
    <input type=button value="Button" onClick="alert ('Your browser is set to
    reject cookies. You need to enable cookies to use this website.'
    </form>

    Thanks for any suggestions you have.
     
    Paul, Aug 13, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9obiBXYWxrZXI=?=

    Popup Window Popup Timing

    =?Utf-8?B?Sm9obiBXYWxrZXI=?=, Nov 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    848
    =?Utf-8?B?Sm9obiBXYWxrZXI=?=
    Nov 4, 2005
  2. dapkniht
    Replies:
    1
    Views:
    1,340
    Eliyahu Goldin
    Mar 8, 2006
  3. Gnarlodious
    Replies:
    4
    Views:
    17,611
    elizas
    May 5, 2010
  4. Rajesh
    Replies:
    0
    Views:
    562
    Rajesh
    Jul 31, 2007
  5. Jens Peter Hansen
    Replies:
    7
    Views:
    546
    Randy Webb
    Jun 19, 2004
Loading...

Share This Page