From 8dbdef5f526f1724c87d064be8ba00cfd8b9c2e1 Mon Sep 17 00:00:00 2001 From: Erwin Li Date: Thu, 19 Oct 2017 17:02:49 -0700 Subject: [PATCH] Link to demo no longer works. Added a quick Usage --- README.markdown | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index d273666..a91ae0e 100644 --- a/README.markdown +++ b/README.markdown @@ -2,8 +2,6 @@ Create Growl/Ubuntu-like notifications. Uses RGBA, border-radius, and box-shadow, so they're not as pretty as they could be in IE at the moment. -See [http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widget/](http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widget/) for demos & documentation. - ## Features - No images, all CSS @@ -17,3 +15,28 @@ See [http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widge - Ability to programatically call `open` and `close` methods - Passes JSLint - Cross-browser compatible (including IE6) + +## Usage + +```html + +``` + +```javascript + $("#notify").notify({ + speed: 500, + expires: 8000 // ms or false + }); + + $("#notify").notify("create", { + title: 'Cool Notification', + text: 'Order confirmed.' + }); +``` +