最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - JavaScript Image Popup Window - Stack Overflow

programmeradmin3浏览0评论

I would like to setup my gallery web page so that when a user clicks on the thumbnail image, a window pops up displaying a larger view of the image. I do not mean a pop up window as in a browser window but a window that is loaded within that same page and can be closed. I am not exactly sure how I would go about doing this. Any ideas?

I would like to setup my gallery web page so that when a user clicks on the thumbnail image, a window pops up displaying a larger view of the image. I do not mean a pop up window as in a browser window but a window that is loaded within that same page and can be closed. I am not exactly sure how I would go about doing this. Any ideas?

Share Improve this question asked Sep 24, 2009 at 12:32 NateShoffnerNateShoffner 16.8k29 gold badges82 silver badges97 bronze badges
Add a ment  | 

5 Answers 5

Reset to default 5

See Lightbox2. http://www.huddletogether./projects/lightbox2/

If you can use jQuery I would remend

Thickbox

These are also very good

Fancybox

Pirobox

Nyromodal

ImageBox

And a third option: jQuery Tools overlay

I believe the technique you're after is a lightbox (I think it was the first of these).

Thickbox is an awesome jQuery based clone, or there's about a million others out there :-)

Much advance option would be Magnific Or Gettopup

发布评论

评论列表(0)

  1. 暂无评论