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

JQUERY THICKBOX popup layer plug-in_jquery

WBOY
Release: 2016-05-16 19:01:41
Original
1676 people have browsed it

.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/

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template