SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: pop-up windows

Hybrid View

  1. #1
    ********* Ornithologist AtomicPenguin's Avatar
    Join Date
    May 2002
    Location
    Vancouver, BC
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pop-up windows

    Is it possible to make a pop-up window with two options (eg. "continue" and "cancel") using Javascript?

    If so, you couldn't point me in the right direction could you?

    Thanks -

  2. #2
    ********* Ornithologist AtomicPenguin's Avatar
    Join Date
    May 2002
    Location
    Vancouver, BC
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I should probably clarify - I was referring to those _Windows_ pop-up windows, like when you use 'alert()'


  3. #3
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah - set the variable according to the value of a confirm ( which returns binary i believe )

    You may even be able to:

    ((confirm('do you want to shoot people?'))?hang_them():marry_them())

    But i'm not at all sure about that.

    (and yes - that is my main criteria to look for in a woman)

    Gareth
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


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
  •