在asp.net中显示带有弹出窗口的图像
问题描述:
我正在将asp.net与c#..
我正在使用显示图像的图像控件.
现在我想要当我单击图像时..
将弹出一个弹出窗口,以实际大小显示图像.
当我们关闭窗口时,小图像应该显示...
thnx ...
i am using asp.net with c#..
i am using a image control which show image.
now i want when i click on image..
a popup window should b open which show the image in its actual size.
when we close the window the small image should show...
thnx...
答
有很多方法可以做到这一点.这是其中一些的画廊,例如检查GrayBox
和LightBox
http://www.cnblogs.com/blodfox777/articles/1310631.html [ ^ ]
There are many ways of doing it. Here is a gallery of some of them, check for instanceGrayBox
andLightBox
http://www.cnblogs.com/blodfox777/articles/1310631.html[^]
我认为您想要的是一个iframe.只需打开iframe,然后导航到实际图像而不是缩略图即可.
I think what you want is an iframe. Just open the iframe, and navigate to the actual image instead of the thumbnail.