modal image popups

允我心安 提交于 2019-12-10 09:45:27

问题


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!


回答1:


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




回答2:


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

  • piroBox
  • FancyBox
  • prettyPhoto
  • nyroModal
  • thickbox

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




回答3:


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



来源:https://stackoverflow.com/questions/650322/modal-image-popups

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!