ShowDialog example
var options = { title: "My Dialog Title", width: 400, height: 600, url: "/_layouts/DialogPage.aspx" }; SP.UI.ModalDialog.showModalDialog(options);To display an animated spinner, you can set a background-image for the iframe with some CSS.
CSS
iframe { background-image: url("../images/animatedspinner.gif"); background-repeat: no-repeat; background-position: 50% 50%; }
Result
1 comment:
i GET JAVASCRIPT error in SP.js that type is undefined
What can be the issue?
Post a Comment