John Lindal![]()
Plugin for Nodes and Widgets that displays an overlaying div. Especially useful for a widget that is waiting for an AJAX response.
Plugs in BusyOverlay and shows it.
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.05.16-20-37'
}).use('gallery-busyoverlay', function(Y)
{
var node = Y.one('#my-widget');
node.plug(Y.Plugin.BusyOverlay);
node.busy.show();
// some time later...
node.busy.hide();
});
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info