PATH:
home
/
letacommog
/
letaweb
/
scripts
/
libraries
function isMobile() { //sniff a mobile browser if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ){ return true; } } function getHeight(width) { return width * 9 / 16; } function resize() { $('.module').each(function() { var trel = $(this).attr('trel'); if(window['resize_' + trel]) window['resize_' + trel](this); }); } function resize_carousel(element) { var carousel = $(element).find('.jCarousellite').data('Carousel'); if(carousel) carousel.resize(); } function resize_image(element) { var image = $('img', element); image.css('max-width', 'none'); var parent_width = $(element).width(); var actual_width = image.width(); if(actual_width > parent_width) { image.css('height', 'auto'); } else image.css('height', ''); image.css('max-width', ''); } /*function resize_flash(element) { var media = $('.media', element); var parent_width = $(element).width(); var object = $('object', element); var embed = $('embed', element); object.css('max-width', ''); embed.css('max-width', ''); var ow = media.attr('ow'); var oh = media.attr('oh'); var actual_width = object.attr('width'); if(actual_width > parent_width) { var ratio = parent_width / actual_width; var h = oh * ratio; object.css('max-width', '100%'); embed.css('max-width', '100%'); object.css('height', h); embed.css('height', h); } else { object.css('height', ''); embed.css('height', ''); } }*/ function resize_shopping(element) { var h = 0; $('.title', element).css('height', ''); $('.title', element).each(function() { var height = $(this).height(); if(h < height) h = height; }); if(h != 0) $('.title', element).height(h); var image = $('.image', element); var w = image.width(); var h = getHeight(w); image.height(h); } function resize_news_list(element) { var h = 0; $('.news_list li .news_item', element).css('height', ''); $('.news_list li .news_item', element).each(function() { var height = $(this).height(); if(h < height) h = height; }); if(h != 0) $('.news_list li .news_item', element).height(h); } /* function resize_column_news_list(element) { var h = 0; $('.title', element).css('height', ''); $('.title', element).each(function() { var height = $(this).height(); if(h < height) h = height; }); if(h != 0) $('.title', element).height(h); var image = $('.image', element); var w = image.width(); var h = w;//getHeight(w); image.height(h); } */ function resize_youtube(element) { var width = $(element).width(); height = getHeight(width); var iframe = $(element).find('iframe'); // iframe.attr('width', width); //iframe.attr('height', height); } function resize_cycleslider(element) { $('.images', element).cycle('resize'); } /*function resize_slideshow(element) { var nivoslider = $(element).find('.nivoSlider').data('nivoslider'); if(nivoslider) nivoslider.resize(); };*/ function resize_menu(element) { var superfish = $(element).children('div').children('ul').data('superfish'); if(superfish) superfish.resize(); } $(document).ready(function() { if(isMobile() ) resize(); $(window).unbind('resize'); $(window).bind('resize', function () { resize(); }); $('.module-menu').each(function() { $('.sf-menu', this).mobileMenu({prependTo : this}); }); }); $(document).ready(function(){ });
[+]
..
[+]
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]