hi, I am trying to call a popup from jsp, when it appears the curtain is not covering the entire page. i can see and even click on the things which are behind the popup. pls help me to figure out the issue.

  • Without context, we won't really be able to help too much. Any chance you can post the relevant code (CSS and HTML) so we can help? Ktash about 8 years ago

1 answer

danwellman 5600

What you need is modality for your popup. What this means is that when the popup is open, the rest of the viewport is covered with a semi-transparent overlay with the popup above this overlay. The popup must then be interacted with in order for the modal overlay to be removed, i.e. closing the popup removes the overlay from the rest of the page.

jQuery UI has a great modal dialog widget

Answered about 8 years ago by danwellman