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

javascript - How to get this popup window style? - Stack Overflow

programmeradmin2浏览0评论

If you go to / and click on the green shareThis widget next to the text 'Try it out', you'll see a window pop-up.

I've noticed everyone is beginning to use a pop-up window with this style.

What's this? Is it just a div or a new browser window? How to achieve this effect?

If you go to http://www.sharethis./ and click on the green shareThis widget next to the text 'Try it out', you'll see a window pop-up.

I've noticed everyone is beginning to use a pop-up window with this style.

What's this? Is it just a div or a new browser window? How to achieve this effect?

Share Improve this question asked Jun 15, 2011 at 15:55 Water Cooler v2Water Cooler v2 33.9k63 gold badges183 silver badges365 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

Check out any one of these:

  • Lightbox
  • Lightbox2
  • Fancybox

I guess the popup-window is actually two divs, one which darkens the site, one for the window. Also guessing: both could use the "opacity" and "z-index" css attributes.

发布评论

评论列表(0)

  1. 暂无评论