The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 1 more by this user. Created: 06/6/12
Last CDN Push: 06/13/12
Build Tag: gallery-2012.06.13-20-30
Project: YUI 3
License: YUI BSD
YUI Version: 3.6.0pr1
Free for use.
SimpleNotifier is a single instance easy-to-use notifier. You can set the position and timeout.
position flags - "bottom-left","top-left", "bottom-right","top-right"
<script src="http://yui.yahooapis.com/3.6.0pr1/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.06.13-20-30'
}).use('gallery-simplenotifier', function(Y) {
var note = new Y.SimpleNotifier({timeout:5000, position:"bottom-left"});
note.set("header","header in here....");
note.set("message","message in here....");
note.render();
});
All code on this site is licensed under the BSD License unless stated otherwise.