显示进度的形象,同时加载asp.net页面进度、加载、形象、页面

2023-09-10 21:43:49 作者:潇湘夜雨

我有一个asp.net页面,其中夫妇的div,其中的一些div的从数据库中获得的图片路径,并显示在图像中的较小版本(缩略图)。并尽快缩略图用户点击,我用ajax模式弹出显示完整大小的图片,我需要的是有一个progree图像(GIF),每一个缩略图上,而加载asp.net页面第一时间,我知道那就是有可能使用UpadePanel,但我需要的实际工作code或实现任何其它的方式,

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). 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,

在此先感谢

推荐答案

好吧,如果你回发,UDPATE面板可工作;但你可以在可编程JS自己做,或者也可以考虑使用一个JS插件像收藏夹:的http:// www.huddletogether.com/projects/lightbox2/

Well, if you are posting back, udpate panel can work; but you can programmably in JS do this yourself, or also consider using a JS plugin like lightbox: http://www.huddletogether.com/projects/lightbox2/

其具有的功能,看起来非常酷。

Which has that feature and looks very cool.