hred 发表于 2013-1-29 13:18:23

Prototype Loader

Ajax.Responders.register({
onCreate : showLoader,
onComplete : hideLoader
});
function showLoader(){
Dialog.info("Data Saving ...",
               {windowParameters: {width:250, height:100}, showProgress: true});
}
function hideLoader(){
Dialog.closeInfo();
}
页: [1]
查看完整版本: Prototype Loader