Skip to content

gennadys/modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modal window plugin for jQuery.

$('a.modal').modal({
  url: false,               // default anchor href
  opener: false,            // 
  className: 'modal'        // modal window class name (for use with twitter bootstrap or other framework)
  remote: true,             // use ajax request if url defined
  content: '',              // content html
  data: {},                 // data for ajax request
  scrollable: false,        // 
  scrollbar: true,          // hide document scrollbar
  modal: true,              // modal window
  overlay: true,            // show overlay
  opacity: 0.7,             // overlay opacity
  view: 'default',          // modal skin
  close: true,              // show close button
  gravity: false            // modal window gravity s, sw, se, w, e, n, nw, ne
  cancelText: 'Cancel',     // button text for confirm window
  confirmText: 'Confirm',   // button text for confirm window
  windowLocation: false,    // use href after confirm
  beforeShow: function(){}  // before window show callback
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published