Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/c/d/cdc17296-3e1d-41c8-be73-83774b1ff776/usbfactory.sk/sub/e-net/wp-content/plugins/revslider/includes/operations.class.php on line 2715

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/c/d/cdc17296-3e1d-41c8-be73-83774b1ff776/usbfactory.sk/sub/e-net/wp-content/plugins/revslider/includes/operations.class.php on line 2719

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/c/d/cdc17296-3e1d-41c8-be73-83774b1ff776/usbfactory.sk/sub/e-net/wp-content/plugins/revslider/includes/output.class.php on line 3615

Warning: Cannot modify header information - headers already sent by (output started at /data/c/d/cdc17296-3e1d-41c8-be73-83774b1ff776/usbfactory.sk/sub/e-net/wp-content/plugins/revslider/includes/operations.class.php:2715) in /data/c/d/cdc17296-3e1d-41c8-be73-83774b1ff776/usbfactory.sk/sub/e-net/wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 327
// source --> http://e-net.usbfactory.sk/wp-content/plugins/wp-megamenu/addons/wpmm-gridpost/wpmm-gridpost.js?ver=1 jQuery(document).ready(function($){'use strict'; $(document).on( 'click', '.wpmm-right,.wpmm-left', function( event ) { var $that = $(this); if( $that.hasClass('disablebtn') ){ return; } var oderby = $that.data('oderby'), column = $that.data('column'), showcat = $that.data('showcat'), type = $that.data('type'), current = $that.attr('data-current'), category = $that.data('category'), total = $that.data('total'), count = $that.data('count'); if( $that.hasClass('wpmm-right') ){ current = parseInt(current) + 1; if( current == total ){ $that.parent().find('.wpmm-left').removeClass('disablebtn'); $that.addClass('disablebtn'); }else{ if( current == 2 ){ $that.parent().find('.wpmm-left').removeClass('disablebtn'); } } } else { current = current - 1; if( current == 1 ){ $that.parent().find('.wpmm-right').removeClass('disablebtn'); $that.addClass('disablebtn'); }else{ $that.parent().find('.wpmm-right').removeClass('disablebtn'); } } //console.log( current ); $that.parent().find('.wpmm-right').attr( 'data-current', current ); $that.parent().find('.wpmm-left').attr( 'data-current', current ); $.ajax({ url: wpmm_object.ajax_url, type: 'POST', data: { action: 'gridpost_load_more_posts', oderby: oderby, column: column, current: current, category: category, type: type, showcat: showcat, count: count }, beforeSend: function(){ $that.parent().find( ".wpmm-grid-post-addons" ).addClass('spinwarp').append( '
' ); } }) .done(function(data) { $that.parent().find('.wpmm-grid-post-addons').removeClass('spinwarp').html( data ); }) .fail(function() { console.log( "Failed" ); }); }); // Tab JS $('.wpmm-vertical-tabs').each(function(){ var $tab = $(this), $handlers = $tab.find('.wpmm-tab-btns').children(), $tabs = $tab.find('.wpmm-tab-content').children(); $handlers.each(function(index) { $(this).on('mouseenter', function(event){ event.preventDefault(); $handlers.removeClass('active'); $tabs.removeClass('active'); $(this).addClass('active'); $($tabs[index]).addClass('active'); }); // $(this).on('click', function(event){ event.preventDefault(); }); }); }); }); // source --> http://e-net.usbfactory.sk/wp-content/plugins/addon-elements-for-elementor-page-builder/assets/js/iconHelper.js?ver=1.0 window.eae = {}; window.renderIconHtml = function(view,elementor,sett,control_name, wClass = '', index=''){ // console.log("View => ", view); // data.addRenderAttribute('key', 'context', 'value'); // console.log(data.getRenderAttributeString('key')); var icon_class = ''; let imageHtml = ''; let lottie_data = []; let iconHtml = ''; if(sett[control_name+'_graphic_type'] != 'none' && sett[control_name+'_graphic_type'] != ''){ icon_class += ' eae-gbl-icon eae-graphic-type-'+ sett[control_name+'_graphic_type'] + ' elementor-animation-' + sett[control_name+'_hover_animation']; if(wClass != ''){ icon_class += ' '+wClass; } icon_class += ' eae-graphic-view-'+sett[control_name+'_view']; if(sett[control_name+'_view'] != 'default'){ icon_class += ' eae-graphic-shape-'+sett[control_name+'_shape']; } if(sett[control_name+'_graphic_type'] == 'lottie'){ if( (sett[control_name+'_lottie_animation_url'] != '' ) || (sett[control_name+'_source_json']['url'] != '') ) { icon_class += ' eae-lottie-animation eae-lottie'; lottie_data = { 'loop' : ( sett[control_name+'_lottie_animation_loop'] === 'yes' ) ? true : false, 'reverse' : ( sett[control_name+'_lottie_animation_reverse'] === 'yes' ) ? true : false, } if(sett[control_name+'_source'] == 'media_file' && (sett[control_name+'_source_json']['url'] != '')){ lottie_data.url = sett[control_name+'_source_json']['url']; }else{ lottie_data.url = sett[control_name+'_lottie_animation_url']; } view.addRenderAttribute('panel-icon-'+ index, 'data-lottie-settings', JSON.stringify(lottie_data)); } } view.addRenderAttribute('panel-icon-'+ index, 'class', icon_class); if(sett[control_name+'_graphic_type'] == 'lottie' ){ if(lottie_data.url != undefined){ iconHtml = ``; } }else{ if(sett[control_name+'_graphic_type'] === 'icon'){ if(sett[control_name+'_graphic_icon']['value'] != ''){ var icon = elementor.helpers.renderIcon( view, sett[control_name+'_graphic_icon'], { 'aria-hidden': true }, 'i' , 'object' ); imageHtml = icon.value; iconHtml = ` ${imageHtml} `; } }else{ if(sett[control_name+'_graphic_image']['url'] != ''){ var image = { id: sett[control_name+'_graphic_image']['id'], url: sett[control_name+'_graphic_image']['url'], size: sett[control_name+'_graphic_image_size'], dimension: sett[control_name+'_graphic_image_custom_dimension'], model: view.getEditModel() }; var image_url = elementor.imagesManager.getImageUrl( image ); imageHtml = ''; iconHtml = ` ${imageHtml} `; } } } } return iconHtml; } window.eae.validateHTMLTag = function( $tag, $collection = null, $fallback = null){ if($collection == null){ $collection = ['h1','h2','h3','h4','h5','h6','p','span','div']; } if($fallback == null){ $fallback = 'h3'; } if($collection.includes($tag)){ return $tag; }else{ return $fallback; } };