Simple jQuery Modal Plugin That Slides In From Top | shutterModal

shutterModal is a simple but highly configurable modal jQuery extension that displays a sliding modal window with a full-screen overlay on your web application.

modal cover entire screen, bootstrap full screen modal, jquery modal full screen

How to make use of it:

1. jQuery shutterModal plugin and jQuery framework in your webpage.

<script src="jquery.min.js"></script>
<script src="js/shutterModal.js"></script>

2. Include a jQuery plugin to ease support.

<script src="jquery.easing.min.js"></script>

3. Launch a basic modal window that loads data from the embedded HTML content.

<a class="show-shutter" href="#">Show Modal</a>
<div id="modal-content" style="display:none">
  <p>Hello this is a demo text</p>
</div>
$('.show-shutter').on('click', function(e){
  e.preventDefault();
  $('#modal-content').shutterModal();
})

4. Run a dynamic module window that loads remote data from an external URL via an AJAX request.

$('.show-shutter').on('click', function(e){
  e.preventDefault();
  $('#modal-content').shutterModal({url:'ajax.html'});
})

5. Style modal window and overlay as you like.

#shutter-cover:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#shutter-cover { text-align: center; }

#shutter-cover .shutter {
  display: inline-block!important;
  vertical-align: middle;
  text-align: left;
}

.shutter {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  width: 100%;
}

6. All configuration options.

// the background color of the overlay
background: 'rgba(0,0,0,0.8)',

// CSS z-index property
zIndex:99,

// remote URL
url: '',

// easing option
easing: 'swing',

// animation speed
duration: 1000,

// delays
showAfter: 0,
hideAfter: 0,

// display a close button
close: true,

// close the modal by ESC key
escClose: true,

// auto dismiss
remove: false,

// callback functions
onLoad : function(){},
onClose : function(){}

simple fullscreen sliding modal jquery, shutterModal Plugin/Github


See Demo And Download

Official Website(mtsandeep): Click Here

This superior jQuery/javascript plugin is developed by mtsandeep. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…