GithubHelp home page GithubHelp logo

koosvanderkolk / jquery.notify.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caolan/jquery.notify.js

1.0 1.0 0.0 165 KB

Ubuntu-style notifications within a web browser

Home Page: http://caolanmcmahon.com/notifications.html

JavaScript 85.46% Perl 14.54%

jquery.notify.js's Introduction

======================================
jQuery Notify Plugin 2 - v0.1 - by @koosvdkolk
======================================

Attempts to implement notifications similar to those available in
Ubuntu since Jaunty Jackalope (9.04) [see: $ aptitude show notify-osd]

For more information on the notifications, see the following:
 - http://www.markshuttleworth.com/archives/253
 - http://launchpad.net/notify-osd

Dependencies: jQuery 1.3
              jquery.jcorners.js

Copyright (c) 2012 Koos van der Kolk
Dual licensed under the MIT and GPL licenses (same as jQuery).
http://docs.jquery.com/License

Based on the jQuery Notify Plugin by https://github.com/caolan

==================
Installation
------------------

Include notify.css and jquery.notify.js in your HTML. You'll also need,
jquery-1.3.2.js (or latest jquery 1.3 release) and jquery.jcorners.js.

You can get jquery.jcorners.js from:
http://plugins.jquery.com/project/JCorners


==================
Usage
------------------

You can then create notifications by calling $.notify(options), where
options is an object with some or all or the attributes: title, text, icon,
delay (in millisecs), sticky (boolean), closeOnClick (boolean), 
parentElement (DOM element).

Example: $.notify({title:'Example', text:'Lorem ipsum...', icon:'image.png'});


==================
Supported Browsers
------------------

Tested and working on:
    
    FF3 (Windows XP & Ubuntu)
    IE7
    IE6
    Safari 3.2.1 (Windows XP)
    Opera 10.0 (Windows XP)

Additional testing would be welcome, if you have any more results
to add please get in touch.


==================
Known Issues
------------------

Browser security error if opened as a local file instead of run through a
webserver. Most other issues are due to ongoing development on handling 
CSS for elements behind the notifications. Active and focus CSS properties
are not currently supported, and hover styles are only partially supported.

If you have any problems, please submit an Issue on GitHub.

jquery.notify.js's People

Stargazers

Scott Phillips avatar

Watchers

Koos van der Kolk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.