# Simple pop-in window, darken the browser

**URL:** <https://forum.kirupa.com/t/simple-pop-in-window-darken-the-browser/332249>\
**Category:** Uncategorized\
**Created:** [March 22, 2014, 5:33am UTC](https://forum.kirupa.com/t/simple-pop-in-window-darken-the-browser/332249 "2014-03-22T05:33:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skribble](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Post date:** [March 22, 2014, 5:33am UTC](https://forum.kirupa.com/t/simple-pop-in-window-darken-the-browser/332249/1 "2014-03-22T05:33:53Z")

</div>

Hi guys, I was wondering if you could help me out with a simple pop-in window - a window within the browser that will hold an image. Either script or a point in the right direction would be much appreciated thanks:

- Click a button
- Webpage is darkened
- An image opens in a pop-in window
- Clicking anywhere closes the pop-in window

Thanks in advance for your help!
