Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="msg" class="dialog">loading, please wait...</div>
- <body id="pageContainer">
- <div id="msg" class="dialog">loading, please wait...</div>
- <div id="pageBody">
- <form id="formMaster" runat="server">
- </form>
- </div>
- </body>
- .dialog {
- display: none;
- width: 300px;
- height: 300px;
- position: absolute;
- left: 50%;
- top: 50%;
- margin-left: -150px;
- margin-top: -150px;
- }
- // Simulate some time before everything's loaded
- setTimeout(function () {
- $("#msg").fadeOut(function () {
- // Wait for #msg to fade out before fading in #pageBody
- $("#pageBody").animate({
- opacity: "1.0"
- }, 1);
- });
- }, 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement