PATH:
home
/
letacommog
/
letaweb
/
scripts
/
libraries
jQuery(function($) { var _oldAnimate = $.fn.animate; $.fn.animateddfd = function( prop, speed, easing, callback ) { return $(this).each( function() { newCallback = function() { if ($.isFunction(callback)) { callback.apply( $(this)); } $(this).trigger('afterShow'); }; $(this).trigger('beforeShow'); _oldAnimate.apply($(this), [prop,speed, easing, newCallback]); }); } }); var Tab = function(element, options) { this.element = $(element); this.options = $.extend(true, Tab.defaults, options); this.init = function() { var that = this; this.element.children('.' + this.options.navigationClass).children('li').children('a').unbind(); this.element.children('.' + this.options.navigationClass).children('li').children('a').bind('click',function(event) { event.stopPropagation(); event.preventDefault(); var href = $(this).attr('href'); //href = href.substring(1); $(this).parent().siblings().removeClass(that.options.selectedClass); $(this).parent().addClass(that.options.selectedClass);$(href).siblings().hide(); $(href).show(); }); this.element.children('.' + this.options.navigationClass).children('li').children('a:first').trigger('click'); }; this.init(); }; Tab.defaults = { navigationClass : 'navigation', selectedClass : 'selected', contentClass : 'tab-content', contentsClass : 'tab-contents', }; var Accordion = function(element, options) { this.element = $(element); this.options = $.extend(true, Accordion.defaults, options); this.init = function() { var that = this; $('.' + this.options.headerClass, this.element).unbind(); $('.' + this.options.headerClass, this.element).bind('click',function(event) { event.stopPropagation(); event.preventDefault(); if($(this).hasClass(that.options.selectedClass)){return;} else { $(this).addClass(that.options.selectedClass).siblings('.' + that.options.headerClass).removeClass(that.options.selectedClass); that.element.find('.' + that.options.contentClass).slideUp(); $(this).next().slideDown(); return; } }); var that = this; $('.' + this.options.headerClass + ':first', this.element).trigger('click'); }; this.init(); }; Accordion.defaults = { headerClass : 'accordion-header', selectedClass : 'selected', contentClass : 'accordion-content', }; $.fn.accordions = function(element, options) { return this.each(function() { var accordion = $(this).data('accordion'); if(accordion) accordion.init(); else { accordion = new Accordion(this, options); $(this).data('accordion', accordion); } }); }; $.fn.tabs = function(element, options) { return this.each(function() { var tab = $(this).data('tab'); if(tab) tab.init(); else { tab = new Tab(this, options); $(this).data('tab', tab); } }); } $(function(){ //$('.tabs').tabs(); //$('.accordions').accordions(); })
[+]
..
[+]
jQuery-Tags-Input
[-] countdown.js
[edit]
[-] owl.carousel.js
[edit]
[-] base.js
[edit]
[-] jquery.ui.core.js
[edit]
[+]
select2
[-] jquery.matchHeight-min.js
[edit]
[+]
master-slider
[-] jquery.metadata.js
[edit]
[+]
owl-carousel
[-] dataTables.columnFilter.js
[edit]
[-] codemirror.js
[edit]
[+]
jqvmap
[-] css.js
[edit]
[-] jquery.ui.button.js
[edit]
[-] jquery.vticker.min.js
[edit]
[-] jwplayer.js
[edit]
[-] masonry.pkgd.js
[edit]
[-] jquery.smartmenus.min - Copy.js
[edit]
[-] jquery.ui.widget.js
[edit]
[-] jquery.ba-resize.min.js
[edit]
[-] jquery-ui-timepicker.js
[edit]
[-] jquery-migrate.js
[edit]
[-] jquery.nearest.min.js
[edit]
[-] swfobject.js
[edit]
[-] javascript.js
[edit]
[-] jquery.validate.password.js
[edit]
[-] jquery.colorbox.js
[edit]
[-] flexigrid.js
[edit]
[-] jquery.smartmenus.min.js
[edit]
[-] jcarousellite.js
[edit]
[+]
ckeditor_standard
[-] twig.min.js
[edit]
[-] superfish.js
[edit]
[-] bootstrap.min - Copy.js
[edit]
[-] jquery.dataTables.min.js
[edit]
[-] mustache.js
[edit]
[-] spectrum.js
[edit]
[-] jquery.ui.droppable.js
[edit]
[-] jquery.isotope.js
[edit]
[-] jquery.ui.slider.js
[edit]
[-] htmlmixed.js
[edit]
[-] jquery.tinycarousel.min.js
[edit]
[-] jquery.ui.sortable.js
[edit]
[-] jquery.hover.js
[edit]
[-] wow.min.js
[edit]
[-] jquery.fittext.js
[edit]
[+]
jquery.validate
[-] jquery.ui.draggable.js
[edit]
[-] jquery.ui.resizable.js
[edit]
[-] audio.min.js
[edit]
[+]
angular
[+]
less
[-] masonry.pkgd.min.js
[edit]
[+]
plupload
[-] jquery.rd-parallax.js
[edit]
[-] tabs.js
[edit]
[-] responsive.js
[edit]
[-] xml.js
[edit]
[-] expressInstall.swf
[edit]
[-] camera.js
[edit]
[-] pace.min.js
[edit]
[-] typed.js
[edit]
[-] jquery.nivo.slider.js
[edit]
[+]
bootstrap
[-] qtip.js
[edit]
[+]
mediaelement
[-] jquery.ui.mouse.js
[edit]
[+]
slick
[-] countUp.js
[edit]
[-] jquery.prettyPhoto.js
[edit]
[+]
ckeditor_full
[-] jquery.ui.spinner.js
[edit]
[-] portfolio-layout-plugin.js
[edit]
[-] require.js
[edit]
[-] nicEdit.js
[edit]
[-] jquery.json-2.4.min.js
[edit]
[-] jquery.ba-resize.js
[edit]
[-] jquery.mobilemenu.js
[edit]
[+]
nivo_slider
[+]
ui-iconpicker
[-] cloud-zoom.js
[edit]
[-] jquery.ui.datepicker.js
[edit]
[-] jquery.cycle.all.js
[edit]
[-] jquery.validate.js
[edit]
[+]
flot
[+]
jquery-ui
[-] jquery.cleditor.min.js
[edit]
[-] jquery.easing.js
[edit]
[-] jquery.elevateZoom.min.js
[edit]
[-] bootstrap.min.js
[edit]
[-] jquery.bxslider.js
[edit]
[-] mediaelement-and-player.min.js
[edit]
[-] jquery.zoom-min.js
[edit]
[-] jquery.nearest.js
[edit]
[-] jquery.autosize.js
[edit]