Fancybox is an excellent jquery plug-in that can display a variety of pop-up layer effects. Compared with facybox, fancybox is more fully functional. It can load DIV, images, image sets, and Ajax data, it can also load SWF movies, iframe pages, and so on. Fancybox is an excellent jquery plug-in that can display rich pop-up layer effects. In the previous article, we introduced the facybox pop-up layer effect. Compared with facybox, fancybox is more fully functional. It can load not only DIV, images, image sets, Ajax data, but also SWF videos, iframe page.
Download demo source code
Fancybox features:
Supports image, html text, flash animation, iframe, and ajax;
You can customize the css style of the player;
You can play videos in groups;
If you include the mouse scroll plug-in, fancybox also supports scroll by the mouse wheel to view the image;
Fancybox player supports projection and has a more stereoscopic effect.
Supports keyboard direction keys and ESC keys.
Rich parameter settings and method calls.
High scalability.
How to use it?
This article uses Demo2 In DEMO as an example to explain how to use fancybox.
1. Add javascript references and css file references.