HTML Popup Window

Hi Experts,

How is possible for me to have a html popup. I don't need a new window or tab, but like some sites have a like a popup window in front of the current page, disabling all content under it. I have seen this a lot for surveys.

I need to do a similar popup, and I am guessing/hoping that the "popup" can actually be a hidden div that I can unhide in the middle of the screen and disable all content behind it until the user clicks something from that div.

if someone can get me started, and maybe provide me with a sample script, that would be great.

Thank you
APD TorontoSoftware DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
This description and demo of a 'modal window' should work for you.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark ElySenior Coldfusion DeveloperCommented:
<html lang="en">
  <meta charset="utf-8" />
  <title>jQuery UI Dialog - Default functionality</title>
  <link rel="stylesheet" href="" />
  <script src=""></script>
  <script src=""></script>
  <link rel="stylesheet" href="/resources/demos/style.css" />
  $(function() {
    $( "#dialog" ).dialog();

<div id="dialog" title="Basic dialog">
  <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>


Open in new window

Mandeep SinghDatabase AdministratorCommented:

Try this, it's bootstrap one:
Ronak PatelCommented:

You can use jQuery UI Modal Dialog Box.

here is the demo: jQuery UI Modal Dialog Box Demo

Hope this helps.

APD TorontoSoftware DeveloperAuthor Commented:
Thank you all!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.