Wednesday, January 16, 2013

Open Popup div with disabled background using Javascript

Let's see a simple HTML code for Popup div with disabled background. On clicking a particular link it will open a popup div with desire information, it can also be used as popup window. Below example shows following features -

  1. Onclick opens a popup div with disabled background
  2. Close popup div using escape button
  3. Opens popup div exactly at the center of the screen
  4. Opacity can be controlled within 

Below is the tested code, directly you can save it and see the output.


No comments:

Post a Comment