简体   繁体   English

加载asp.net页面时显示进度图像

[英]show progress image while loading asp.net page

I have an asp.net page, with couple of Divs, some of these div's get the image path from database and show the image in a smaller version (thumbnail). 我有一个带几个Divs的asp.net页面,其中一些div从数据库获取图像路径,并以较小的版本显示图像(缩略图)。 and as soon as user click on thumbnail, I use ajax Modal popup to show the full size image, what I need to have is to have a progree image(gif), on every thumbnail image while loading the asp.net page for the first time, I konw that it is possible to use UpadePanel, but I need the actual working code,or any other way to achieve this, 并且,当用户单击缩略图时,我会使用ajax Modal弹出窗口显示完整尺寸的图像,我需要在每个缩略图图像上都显示一个同意图像(gif),同时首先加载asp.net页面时间,我知道可以使用UpadePanel,但是我需要实际的工作代码或其他任何方法来实现这一目标,

Thanks in advance 提前致谢

Well, if you are posting back, udpate panel can work; 好吧,如果您要发回邮件,udpate面板可以工作; but you can programmably in JS do this yourself, or also consider using a JS plugin like lightbox: http://www.huddletogether.com/projects/lightbox2/ 但您可以通过JS自己编程,也可以考虑使用JS插件(如lightbox): http : //www.huddletogether.com/projects/lightbox2/

Which has that feature and looks very cool. 具有该功能并且看起来很酷。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM