Skip to content

ezsil/bootstrap-bigmodal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap BigModal

A wrapper around bootstrap's modal that provides "fullscreen" modal windows. These big modals are 90% window width, 90% window height, with 5% margins.

Installation

  • Include css/bigmodals.css in your page after bootstrap's main css files.
    • Alternatively, include less/bigmodals.less after bootstrap's modals.less in your build process.
  • Include js/bootstrap-bigmodal.js after bootstrap's bootstrap-modal.js

Usage

See bootstrap modals for all options and methods. BigModal passes all arguments to the underlying modal. Simply use the bigmodal jquery method in place of the modal method:

// Initialize bigmodal
$('.modal').bigmodal();
// Initialize bigmodal with modal options
$('.modal').bigmodal({ /* ... */ });
// Call modal function (either .bigmodal or .modal can be used to call methods)
$('.modal').bigmodal('show');

About

"Fullscreen" bootstrap modals

Resources

License

Stars

Watchers

Forks

Packages

No packages published