3 ms·
I've always liked the approach American Greetings uses for their sign-in. Similiar to the LightBox script except the only way to exit is to click the 'close' ic
by johnohara 17y ago
I've always liked the approach American Greetings uses for their sign-in. Similiar to the LightBox script except the only way to exit is to click the 'close' icon. Clicking the page beneath does nothing. Feels very intuitive.
- Slumberthud 17y agoAny idea how they keep the clicks from escaping the login dialog?
- Batsu 17y agoUsing the z-index CSS property, a property for layering content on pages. At the top of their source before the actual page content starts, they've got a div at z-index: 999 which covers the whole content area, then the login appears at z-index: 1000. Any clicks outside the login box land on the other div, and not on the content below. When the div is hidden (as it is when you first visit the page) the page operates as expected.