uiblock.js is a very simple jQuery plugin that can be used to bring things to the user's attention by dimming out the page with a black overlay and showing a modal window in the center.
Content can be shown inside this popup, which can easily be dismissed by clicking the close button or anywhere on the overlay.
uiblock.js pulls the modal's content from a DIV hidden inside the page via CSS. This means developers can place anything they want inside this DIV and have it appeared as natural HTML when displayed inside the popup.
The plugin is not to be used as a lightbox image viewer in the classic meaning of the word, being more of a simple system for showing notifications rather than something like Colorbox or Magnific Popup.
A sample page is included with the download package, to show developers how uiblock.js can be implemented.
Requirements:
- JavaScript enabled on client side
- jQuery
Comments not found