I have one page from which i have to redirect to a page which is in some other application or can say in other domain.I want waiting screen till the page is loaded.I want to do it b开发者_如何转开发y jquery.Can any one help me-
blockUI would be an option
eg.
<html>
<head>
<meta http-equiv="refresh" content="3; URL=http://www.mydestination.com/">
<!-- script include for jQuery and blockUI -->
</head>
<body>
<script type="text/javascript">
$(document).ready(function() {
$.blockUI({
message: 'redirecting'
});
});
</script>
</body>
</html>
but if you want to keep the overlay on the redirected page while it is loaded, this would be only possible if you use eg. an iframe. but with that, you would have other problems eg. height, width of iframe
精彩评论