开发者

how lightboxes for pics works? they use iframes? how they download pics? [closed]

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜