modal image popups

2019-05-03 12:01发布

I have seen a few sites that have a thumbnail and when you click it, it enlarges the image in a modal like popup. Can anyone tell me how this is done?

Thanks!

3条回答
ゆ 、 Hurt°
2楼-- · 2019-05-03 12:54

Jquery is an easy way to implement a modal popup. It is usually done using one of the many plugins.

The list goes on and on. You can view the top 23 here

查看更多
混吃等死
3楼-- · 2019-05-03 13:00

you should also be able to do it with ajax in .net. Here is a dialog box sample, you may be able to modify for your usage. http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx

查看更多
手持菜刀,她持情操
4楼-- · 2019-05-03 13:03

It is done with lightbox. There are several other scripts that do this, for example a jquery plugin.

查看更多
登录 后发表回答