在asp.net中显示带有弹出窗口的图像 [英] show image with popup in asp.net

查看:170
本文介绍了在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 instance GrayBox and LightBox

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.


这篇关于在asp.net中显示带有弹出窗口的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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