使用JavaScript或Jquery在页面中显示PageLoad图像 [英] Displaying a PageLoad Image in a page using JavaScript or Jquery

查看:91
本文介绍了使用JavaScript或Jquery在页面中显示PageLoad图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我刚刚成功登录后创建了一个登录页面和一个重定向页面,以重定向到该特定页面。在这个重定向过程中,我喜欢有一个包含一些内容的页面加载图像,我喜欢在页面完全加载时显示这个页面加载图像。我是否需要创建一个单独的aspx页面,其中包含页面加载图像和内容。我可以在页面加载期间调用此aspx页面。我不想让我的实际页面睡觉以显示此加载图像页面。我想要这个加载图像页面只有当一个页面需要时间来加载它的整个页面。

是他们的任何解决方案使用javascript或jquery。



所以请帮我解决这个问题

谢谢。

解决方案

这个 [ ^ ]似乎就是你要找的。

Hi

i just created a login page and one redirecting page after the login successfully done to redirect to that specific page. during this redirection process i like to have a pageload image with some content to it, i like to display this pageload image untile the page gets completely loaded. Do i need to create a separate aspx page which contains the pageload image and content to it. and can i call this aspx page during the page get loading period. i dont want to make my actual page to sleep for displaying this Load image page. i want this load image page only when ever a page takes time to load its entire page.
Is their any solution using javascript or jquery.

So please help me for this issue
Thank you.

解决方案

This[^] seems to be what you are looking for.


这篇关于使用JavaScript或Jquery在页面中显示PageLoad图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆