天天看點

JQUery插件-thickbox

The ThickBox JavaScript code and CSS file only add an additional 15k (only 10k by using the thickbox-compressed.js) on top of the jQuery code. The CSS file could additionally be compressed if need be.

ThickBox will resize images that are bigger than the browser window.

ThickBox offers versatility (images, iframed content, inline content, and AJAX content).

ThickBox will hide form elements in Windows IE 6.

ThickBox will remain centered in the window even when the user scrolls the page or changes the size of the browser window. Clicking an image, the overlay, or close link will remove ThickBox.

Due to the ThickBox creator's view that transitions should be tailored by individual authors, ThickBox windows do not implement fancy transitions. Feel free to add them as you see fit. Is this a feature? Well, some might say it is.

ThickBox can be invoked from a link element, input element (typically a button), and the area element (image maps).

<a href="http://jquery.com/demo/thickbox/">http://jquery.com/demo/thickbox/</a>

版權

作者:靈動生活 郝憲玮

如果你認為此文章有用,請點選底端的【推薦】讓其他人也了解此文章,

JQUery插件-thickbox

本文版權歸作者和部落格園共有,歡迎轉載,但未經作者同意必須保留此段聲明,且在文章頁面明顯位置給出原文連接配接,否則保留追究法律責任的權利。

繼續閱讀