Custombox – jQuery Modal Window Effects with CSS3 Transitions

Custombox is a jQuery plugin for making modal windows which uses CSS3 transition for effects. Custombox is created with native JavaScript but works perfectly with jQuery. It comes with 14 built in CSS3 effects based on Codrops Modal Window effects.

Preview (FadeIn Effect)


Usage(with jQuery)

Include jQuery (v1.7+)

<script src="//"></script>

and then include the plugin’s js and css files:

<script src="src/jquery.custombox.js"></script>
<link rel="stylesheet" href="src/jquery.custombox.css">

Now call the plugin when the body is on load:

$(function () {
    $('#element').on('click', function ( e ) {
        $.fn.custombox( this );