JavaScripting

The definitive source of the best
JavaScript libraries, frameworks, and plugins.


  • ×

    Modal Window Effects with transitions CSS3.
    Filed under 

    • 🔾35%Overall
    • 625
    • 23.1 days
    • 🕩158
    • 👥2

    Custombox npm version Travis Coverage Status npm License

    Modal dialog effects with transitions CSS3.

    Usage

    You can install custombox through bower:

    bower install custombox
    

    Or through npm:

    npm install custombox
    

    Alternatively, download the package and reference the JavaScript and CSS files manually:

    <script src="custombox.min.js"></script>
    <link rel="stylesheet" type="text/css" href="custombox.min.css">
    

    Optional legacy file for along for the older browsers.

    <script src="custombox.legacy.min.js"></script>
    

    Basic usage

    new Custombox.modal({
      content: {
        effect: 'fadein',
        target: '#modal'
      }
    }).open();
    
    Show All