div DIV Popups from JavascriptToolbox.com Simple Popup Using In-Page DIV This simplest example uses an existing DIV defined on the page as the popup window. By default, the DIV is hidden. The Popup.show() function is used to treat the DIV as a popup, show it, and make it auto-hide if anything else is clicked.