admin管理员组

文章数量:1026380

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.

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.

本文标签: javascriptHow to get this popup window styleStack Overflow