Lightbox is a cool, very useful JS script, you can easily view the picture on the page. But since the birth of Lightbox, a large number of lightbox scripts have sprung up, some of which are excellent, completely beyond Lightbox, and we have collected the 10 best MooTools lightbox Effect script collection and 10 best jquery Lightbox Effect Plug-in collection today to introduce Clearbox 3, it in the implementation of Lightbox basic functions, but also a lot of innovation.
Clearbox is a standalone script that does not rely on other JS libraries or frameworks. It has a number of components, including core files, language packs, and configuration files, but when you use them you just need to introduce an interface file to Clearbox.js.
Clearbox has the following characteristics:
- The picture is played automatically;
- Picture rotation;
- Mouse wheel switch picture;
- Automatic detection of media formats;
- Multi-language support (currently not available in the official language pack, but the language pack settings are very simple, simply configure the language/directory to add a new language folder such as CN, and then the translation of the Cb_language.js file can be. )
Clearbox Support Media Format:
- Picture formats: BMP, GIF, JPG, JPEG, PNG
- Video format: AVI, MOV, MPG, MPEG, WMV
- Audio format: MP3, WAV, WMA
- flash:swf
- Inline content: Inner#id
- HTML content: Add any HTML file via href
- IFRAME content: Any page can be nested through an IFRAME
It can be seen that Clearbox is a very powerful lightbox software, it can achieve all the functions you need.
View Demo to the official download View detailed Tutorials
However, there are very few perfect things, although Clearbox is very powerful, now we are more and more emphasis on the performance of the site, and Clearbox has called multiple JS files, which obviously will increase the number of HTTP requests to the site, thus affecting the overall performance of the site, so I suggest that when used, There are a number of steps you can take to merge and compress the script as necessary.
Here is a brief introduction so many, want to know more children's shoes can go to the official website to inquire, if have the question also can in this article comment the Exchange