| .. | |||||
| examples.charts.js | |||||
| examples.lightbox.js | |||||
| examples.modals.js | |||||
| examples.nestable.js | |||||
| examples.portlets.js | |||||
| examples.treeview.js | |||||
| examples.widgets.js | |||||
| notifications.js |
| Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/dpmptsp/public_html/admin/assets/javascripts/ui-elements/ |
Upload File : |
/*
Name: UI Elements / Modals - Examples
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 1.3.0
*/
(function( $ ) {
'use strict';
/*
Basic
*/
$('.modal-basic').magnificPopup({
type: 'inline',
preloader: false,
modal: true
});
/*
Sizes
*/
$('.modal-sizes').magnificPopup({
type: 'inline',
preloader: false,
modal: true
});
/*
Modal with CSS animation
*/
$('.modal-with-zoom-anim').magnificPopup({
type: 'inline',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-zoom-in',
modal: true
});
$('.modal-with-move-anim').magnificPopup({
type: 'inline',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-slide-bottom',
modal: true
});
/*
Modal Dismiss
*/
$(document).on('click', '.modal-dismiss', function (e) {
e.preventDefault();
$.magnificPopup.close();
});
/*
Modal Confirm
*/
$(document).on('click', '.modal-confirm', function (e) {
e.preventDefault();
$.magnificPopup.close();
new PNotify({
title: 'Success!',
text: 'Modal Confirm Message.',
type: 'success'
});
});
/*
Form
*/
$('.modal-with-form').magnificPopup({
type: 'inline',
preloader: false,
focus: '#name',
modal: true,
// When elemened is focused, some mobile browsers in some cases zoom in
// It looks not nice, so we disable it:
callbacks: {
beforeOpen: function() {
if($(window).width() < 700) {
this.st.focus = false;
} else {
this.st.focus = '#name';
}
}
}
});
/*
Ajax
*/
$('.simple-ajax-modal').magnificPopup({
type: 'ajax',
modal: true
});
}).apply( this, [ jQuery ]);| .. | |||||
| examples.charts.js | |||||
| examples.lightbox.js | |||||
| examples.modals.js | |||||
| examples.nestable.js | |||||
| examples.portlets.js | |||||
| examples.treeview.js | |||||
| examples.widgets.js | |||||
| notifications.js |