My webpage takes anywhere from .5sec – 3 seconds to load completely. I was just wondering if there was a way to have an overlay to show in till the page was loaded. When the page finished loading, I would want this overlay to hide. Something like a progress bar or a .gif. I’m using the razor engine in MVC3.
Share
Three things I have done to make this work: PS, Sorry for poor code blocks, new to all of this.
HTML Div:
CSS:
}
JQuery before the Ajax gets called:
$("#blocker").show();