It's difficult to tell what is being asked here. This question is amb开发者_开发技巧iguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is amb开发者_开发技巧iguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how lightboxes for pics works? they use iframes? how they download pics?
This is similar to a modal dialog. A translucent overlay is put over the entire screen. A DIV is placed over top of the overlay that displays the picture and controls. Images are usually supplied as a list. It's all JavaScript and CSS. JavaScript is used to flip the images.
Usually just by creating an <img> element with JS and DOM.
精彩评论