YAHOO.example.container.wait = | |
new YAHOO.widget.Panel("wait", | |
{ width:"240px", | |
fixedcenter:true, | |
close:false, | |
draggable:false, | |
zindex:4, | |
modal:true, | |
visible:false | |
} | |
); | |
YAHOO.example.container.wait.setHeader("Loading, please wait..."); | |
YAHOO.example.container.wait.setBody('<img src="https://p-blog.csdn.net/images/p_blog_csdn_net/huajian2008/EntryImages/20081220/rel_interstitial_loading.gif" />'); | |
YAHOO.example.container.wait.render(document.body); |