SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Javascript Disable Page and display window

    Does anyone know how to do an effect like this?



    I have searched all over for a way to disable and dim the page, then display a window like the one in that picture when a link is selected.

    Any help is appreciated.

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi cpellizzi,

    Here's a similar demo.

  3. #3
    SitePoint Enthusiast panthro's Avatar
    Join Date
    Dec 2006
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want to prevent users from interacting with the main window while a popup is open, you can use modal dialogs

    Only problem is they only really work with Internet Explorer and don't look as good as the screenshot you posted, but are easy to implement

    Code:
    window.showModalDialog(url);
    For more info here is the msdn article


    Things to do When Bored

    My List of Classic Kids TV - Includes links to fansites


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
  •