Detailed explanation on the use of jquery image playback plug-in prettyPhoto_jquery. Introduction to prettyPhoto
PrettyPhoto is a lightweight lightbox image playback plug-in based on jquery. It not only supports images, but also supports videos, flash, YouTube, iframe and ajax. Moreover, prettyPhoto is very simple to configure and use, and has good scalability. You can customize prettyPhoto to the maximum extent. Currently, prettyPhoto is compatible with most mainstream browsers, including the confusing IE6.
PrettyPhoto plug-in project address: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
It is recommended that friends who are good at English go directly to the official website to learn how to use this plug-in. If your English is poor, don’t worry. I will introduce how to use prettyPhoto one by one.
2. Introduction to how to use prettyPhoto
Detailed explanation on the use of jquery image playback plug-in prettyPhoto_jquery. Introduce jquery core library, prettyPhoto plug-in library and prettyPhoto style sheet file
2. Initialize the jquery plug-in. The following is the simplest configuration js code
Here are the html codes for each type
Detailed explanation on the use of jquery image playback plug-in prettyPhoto_jquery. Single picture
2. Picture Album
3. Single flash
4. YouTube video
5、Vimeo
6. QuickTime Video
7. External website (iframe)
8. Normal text
This is normal text
I hope you will like the prettyPhoto I introduce to you today. This is html that plays ordinary text
9. AJAX content
3. Summary
The prettyBox picture player plug-in is very useful, use it to create your own exclusive photo album!