D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vitalityhealth
/
public_html
/
superadmin
/
js
/
Filename :
theme.init.js
back
Copy
(function($){'use strict';if($.isFunction($.fn['appear'])){$(function(){$('[data-plugin-animate], [data-appear-animation]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginAnimate(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['owlCarousel'])){$(function(){$('[data-plugin-carousel]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginCarousel(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['easyPieChart'])){$(function(){$('[data-plugin-chart-circular], .circular-bar-chart:not(.manual)').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginChartCircular(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['bootstrapDP'])){$(function(){$('[data-plugin-datepicker]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginDatePicker(opts);});});}}).apply(this,[jQuery]);(function(theme,$){'use strict';if(typeof theme.Nav!=='undefined'){theme.Nav.initialize();}}).apply(this,[window.theme,jQuery]);(function($){'use strict';if(typeof Switch!=='undefined'&&$.isFunction(Switch)){$(function(){$('[data-plugin-ios-switch]').each(function(){var $this=$(this);$this.themePluginIOS7Switch();});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['themePluginLazyLoad'])){$(function(){$('[data-plugin-lazyload]:not(.manual)').each(function(){var $this=$(this),opts;var pluginOptions=theme.fn.getOptions($this.data('plugin-options'));if(pluginOptions) opts=pluginOptions;$this.themePluginLazyLoad(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['magnificPopup'])){$(function(){$('[data-plugin-lightbox], .lightbox:not(.manual)').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginLightbox(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if(typeof NProgress!=='undefined'&&$.isFunction(NProgress.configure)){NProgress.configure({showSpinner:false,ease:'ease',speed:750});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['markdown'])){$(function(){$('[data-plugin-markdown-editor]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginMarkdownEditor(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['mask'])){$(function(){$('[data-plugin-masked-input]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginMaskedInput(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['maxlength'])){$(function(){$('[data-plugin-maxlength]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginMaxLength(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['multiselect'])){$(function(){$('[data-plugin-multiselect]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginMultiSelect(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['placeholder'])){$('input[placeholder]').placeholder();}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['popover'])){$('[data-toggle=popover]').popover();}}).apply(this,[jQuery]);(function($){'use strict';$(function(){$('[data-plugin-portlet]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginPortlet(opts);});});}).apply(this,[jQuery]);(function(theme,$){if(typeof theme.PluginScrollToTop!=='undefined'){theme.PluginScrollToTop.initialize();}}).apply(this,[window.theme,jQuery]);(function($){'use strict';if($.isFunction($.fn['nanoScroller'])){$(function(){$('[data-plugin-scrollable]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions){opts=pluginOptions;} $this.themePluginScrollable(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['select2'])){$(function(){$('[data-plugin-selectTwo]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginSelect2(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';function expand(content){content.children('.widget-content').slideDown('fast',function(){$(this).css('display','');content.removeClass('widget-collapsed');});} function collapse(content){content.children('.widget-content').slideUp('fast',function(){content.addClass('widget-collapsed');$(this).css('display','');});} var $widgets=$('.sidebar-widget');$widgets.each(function(){var $widget=$(this),$toggler=$widget.find('.widget-toggle');$toggler.on('click.widget-toggler',function(){$widget.hasClass('widget-collapsed')?expand($widget):collapse($widget);});});}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['slider'])){$(function(){$('[data-plugin-slider]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions){opts=pluginOptions;} $this.themePluginSlider(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['spinner'])){$(function(){$('[data-plugin-spinner]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginSpinner(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['summernote'])){$(function(){$('[data-plugin-summernote]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginSummerNote(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if(typeof autosize==='function'){$(function(){$('[data-plugin-textarea-autosize]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginTextAreaAutoSize(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['timepicker'])){$(function(){$('[data-plugin-timepicker]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginTimePicker(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';$(function(){$('[data-plugin-toggle]').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginToggle(opts);});});}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['tooltip'])){$('[data-toggle=tooltip],[rel=tooltip]').tooltip({container:'body'});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['themePluginWidgetTodoList'])){$(function(){$('[data-plugin-todo-list], ul.widget-todo-list').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginWidgetTodoList(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['themePluginWidgetToggleExpand'])){$(function(){$('[data-plugin-toggle-expand], .widget-toggle-expand').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginWidgetToggleExpand(opts);});});}}).apply(this,[jQuery]);(function($){'use strict';if($.isFunction($.fn['themePluginWordRotator'])){$(function(){$('[data-plugin-wort-rotator], .wort-rotator:not(.manual)').each(function(){var $this=$(this),opts={};var pluginOptions=$this.data('plugin-options');if(pluginOptions) opts=pluginOptions;$this.themePluginWordRotator(opts);});});}}).apply(this,[jQuery]);(function(theme,$){'use strict';theme=theme||{};theme.Skeleton.initialize();}).apply(this,[window.theme,jQuery]);(function($){'use strict';$(function(){$('[data-mailbox]').each(function(){var $this=$(this);$this.themeMailbox();});});}).apply(this,[jQuery]);