can any one suggest me how to use default loading screen??

Actualy I want to use Default sharepoint loading image while my custom script is executing....

Thnaks in Advance......

August 28th, 2015 8:17am

Hi smith...

u can try this...
add below thing into content editor web part ...
<div>
<a href="#" onclick="window();">Status</a>
</div>

<script>
function window(){
SP.UI.ModalDialog.showWaitScreenWithNoClose('Loading...', 'Please wait......', 200, 350);
   setTimeout(function () {
            SP.UI.ModalDialog.commonModalDialogClose();
        }, 4000);
}
<script>

Mark it as answer if find helpful........
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 8:42am

thanks Ravi...

This thing is working fine what if i want to replace the default image...

any idea?

August 28th, 2015 8:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics