JQueryColorbox is a pop-up layer with excellent content playing plug-in. The most important thing is that the size is only 10 KB. Of course, I mainly use it to pop up images. (I have introduced the jqueryFancybox plug-in before, I like it very much ). JQuery
JQuery Colorbox is a pop-up layer with excellent content playing plug-in. The most important thing is that the size is only 10 KB. Of course, I mainly use it to pop up images. (I have introduced the jquery Fancybox plug-in before, I like it very much ). JQuery Colorbox not only has elastic animation effects, fade-in and fade-out effects, slide playback, custom width, but also ajax loading of html and iframe. The most important thing is that it can also write callback functions. For more information, see 5 demonstration effects:
Http://www.phpddt.com/demo/colorbox/example1/
Http://www.phpddt.com/demo/colorbox/example2/
Http://www.phpddt.com/demo/colorbox/example3/
Http://www.phpddt.com/demo/colorbox/example4/
Http://www.phpddt.com/demo/colorbox/example5/
The usage is of course very simple:
First introduce jquery, colorbox plug-in, and colorbox css