Home >Web Front-end >JS Tutorial >JQUERY THICKBOX popup layer plug-in_jquery

JQUERY THICKBOX popup layer plug-in_jquery

WBOY
WBOYOriginal
2016-05-16 19:01:411697browse

.THICKBOX supports the following browsers:
Windows IE 6.0, Windows IE 7, Windows FF 2.0.0.6, Windows Opera 9.0, Macintosh Safari 2.0.4, Macintosh FF 2.0.0.6, Macintosh Opera 9.10... But according to my usage , IE6 still has some problems! Let’s look at its calls first:
1. You must download jquery.js and thickbox.js first. And thickbox.css is also indispensable!

Copy code The code is as follows:



< link rel="stylesheet" href="path-to-file/thickbox.css" type="text/css" media="screen" />
//path-to-file means you put these three The path of the file

2. How to pop up a single picture:
Copy the code The code is as follows:

Single Image

3. It is also very simple to implement paging for multiple pictures:
Copy code The code is as follows:

Plant 1
 Plant 2
Plant 3
Plant 4

4. Pop up the webpage inLINECONTENT
Copy code The code is as follows:


//What’s important is #TB_inline?

5. iFRAME format
Copy code The code is as follows:

All called styles must be added with class="thickbox". This is the effect of controlling the pop-up. For details, please refer to the introduction of THICKBOX on JQUERY's official website , there are specific effects inside: http://jquery.com/demo/thickbox/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn