Projects / Zebra_Dialog

Zebra_Dialog

Zebra_Dialog is a small, compact, and highly configurable dialog box plugin for jQuery, meant to replace JavaScript's "alert" and "confirmation" dialog boxes. It is contained in one JavaScript file that is 4KB minified, with no dependencies other than jQuery 1.5.2 or later. It can also be used as a notification widget for updates or errors, without distracting users from their browser experience by displaying obtrusive alerts. It features five types of available dialog boxes: confirmation, information, warning, error, and question. Its appearance is easily customizable by changing the CSS file. Modal or non-modal dialog boxes can be created. Custom buttons can be easily added. The dialog box can be positioned wherever you want, not just in the middle of the screen. Callback functions can be used to handle the user's choices. It works in all major browsers, including Firefox, Opera, Safari, Chrome, and Internet Explorer 6+.

Tags
Licenses
Operating Systems

RSS Recent releases

  •  09 Apr 2012 09:58

    Release Notes: When used as a notification widget, the notification can now be closed before the timer runs out by clicking on it. Callback functions can now be attached to custom buttons. This release adds an example on how to add custom icons.

    •  15 Oct 2011 08:37

      Release Notes: A bug where the script would sometimes "forget" to clear the semi-transparent overlay was fixed.

      •  18 Aug 2011 09:59

        Release Notes: A bug where the message's text color was inherited rather than being set from the CSS file was fixed. The last button of the dialog box now receives focus once the dialog box is open. Previously, for any dialog boxes other than notifications, if the user pressed the Enter key, the event was re-triggered and more dialog boxes were shown on top of another. It is now possible to add a custom class to the dialog box, making it easy to switch between styles at run-time. Examples are now also available in the downloaded package.

        Screenshot

        Project Spotlight

        ECMA-55 Minimal BASIC

        A minimal BASIC compiler.

        Screenshot

        Project Spotlight

        Polipo

        A lightweight caching Web proxy.