append(response); jQuery("#huge_it_catalog_container_11 img").load(function () { if( getCurrentElementsId_11().length .= max_count){ jQuery(".catalog_load_block_11").css('display','none'); } else jQuery(".catalog_load_block_11").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_11").append(response); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); } else { jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','block'); jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_11").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_11").css({ "display" : "" }); jQuery(".load_more_elements_11").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_11().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_11").ccolorbox({rel:'catalog_group' + i + "_11"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_11").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_11"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_11() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+11); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_11 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_11 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_11(searchText,'search','show_all',$ob_11); }); jQuery('#search_block_11 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_11 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_11('','search','show_all',$ob_11); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); }); jQuery('.show_all_11').click(function(){ jQuery('#search_items_11').find('#search_block_11 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_11('','show_all','show_all',$ob_11); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_11 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 11, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_11'); // add randomish size classes $container.find('.element_11').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_11', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_11 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_11', 'click', function(){ var strheight=0; jQuery(this).parents('.element_11').find('.wd-catalog-panel_11 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_11').hasClass("large")){ jQuery(this).parents('.element_11').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_11').removeClass("active"); return false; } jQuery(this).parents('.element_11').css({height:strheight}); jQuery(this).parents('.element_11').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_11').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_11').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_11 #sort-by'); jQuery('#huge_it_catalog_content_11 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_11 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_11 ul").height(); // jQuery("#huge_it_catalog_options_11").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_11").height(); // jQuery("#huge_it_catalog_filters_11").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_11 .image-block_11 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_11"../div.'); jQuery('#huge_it_catalog_popup_list_11').insertBefore('#huge-popup-overlay_11'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_11').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_11 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .popup-wrapper_11 .right-block ul.thumbs-list_11 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .heading-navigation_11 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_11',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_11').remove(); jQuery('#huge_it_catalog_popup_list_11 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_11').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 13:17:57 +0000] [/2015/09/08/emme/] [-] script not found:.script. function HugeCatalogSearch_12(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_12').css({ "display" : "none" }); jQuery('.catalog_load_block_12').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_12().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_12").css('display','block'); jQuery('#huge_it_catalog_container_12').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_12").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } jQuery("#huge_it_catalog_container_12").append(response); jQuery("#huge_it_catalog_container_12 img").load(function () { if( getCurrentElementsId_12().length .= max_count){ jQuery(".catalog_load_block_12").css('display','none'); } else jQuery(".catalog_load_block_12").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_12").append(response); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); } else { jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','block'); jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_12").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_12").css({ "display" : "" }); jQuery(".load_more_elements_12").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_12().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_12").ccolorbox({rel:'catalog_group' + i + "_12"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_12").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_12"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_12() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+12); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_12 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_12 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_12(searchText,'search','show_all',$ob_12); }); jQuery('#search_block_12 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_12 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_12('','search','show_all',$ob_12); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); }); jQuery('.show_all_12').click(function(){ jQuery('#search_items_12').find('#search_block_12 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_12('','show_all','show_all',$ob_12); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_12 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 12, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_12'); // add randomish size classes $container.find('.element_12').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_12', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_12 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_12', 'click', function(){ var strheight=0; jQuery(this).parents('.element_12').find('.wd-catalog-panel_12 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_12').hasClass("large")){ jQuery(this).parents('.element_12').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_12').removeClass("active"); return false; } jQuery(this).parents('.element_12').css({height:strheight}); jQuery(this).parents('.element_12').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_12').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_12').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_12 #sort-by'); jQuery('#huge_it_catalog_content_12 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_12 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_12 ul").height(); // jQuery("#huge_it_catalog_options_12").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_12").height(); // jQuery("#huge_it_catalog_filters_12").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_12 .image-block_12 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_12"../div.'); jQuery('#huge_it_catalog_popup_list_12').insertBefore('#huge-popup-overlay_12'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_12').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_12 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .popup-wrapper_12 .right-block ul.thumbs-list_12 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .heading-navigation_12 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_12',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_12').remove(); jQuery('#huge_it_catalog_popup_list_12 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_12').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 14:26:00 +0000] [/nacon-2/www.furygaming.net] [-] script not found:.script. function HugeCatalogSearch_11(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_11').css({ "display" : "none" }); jQuery('.catalog_load_block_11').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_11().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_11").css('display','block'); jQuery('#huge_it_catalog_container_11').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_11").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } jQuery("#huge_it_catalog_container_11").append(response); jQuery("#huge_it_catalog_container_11 img").load(function () { if( getCurrentElementsId_11().length .= max_count){ jQuery(".catalog_load_block_11").css('display','none'); } else jQuery(".catalog_load_block_11").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_11").append(response); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); } else { jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','block'); jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_ if( getCurrentElementsId_11().length .= max_count){ jQuery(".catalog_load_block_11").css('display','none'); } else jQuery(".catalog_load_block_11").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_11").append(response); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); } else { jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','block'); jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_11").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_11").css({ "display" : "" }); jQuery(".load_more_elements_11").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_11().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_11").ccolorbox({rel:'catalog_group' + i + "_11"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_11").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_11"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_11() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+11); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_11 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_11 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_11(searchText,'search','show_all',$ob_11); }); jQuery('#search_block_11 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_11 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_11('','search','show_all',$ob_11); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); }); jQuery('.show_all_11').click(function(){ jQuery('#search_items_11').find('#search_block_11 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_11('','show_all','show_all',$ob_11); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_11 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 11, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_11'); // add randomish size classes $container.find('.element_11').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_11', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_11 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_11', 'click', function(){ var strheight=0; jQuery(this).parents('.element_11').find('.wd-catalog-panel_11 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_11').hasClass("large")){ jQuery(this).parents('.element_11').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_11').removeClass("active"); return false; } jQuery(this).parents('.element_11').css({height:strheight}); jQuery(this).parents('.element_11').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_11').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_11').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_11 #sort-by'); jQuery('#huge_it_catalog_content_11 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_11 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_11 ul").height(); // jQuery("#huge_it_catalog_options_11").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_11").height(); // jQuery("#huge_it_catalog_filters_11").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_11 .image-block_11 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_11"../div.'); jQuery('#huge_it_catalog_popup_list_11').insertBefore('#huge-popup-overlay_11'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_11').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_11 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .popup-wrapper_11 .right-block ul.thumbs-list_11 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .heading-navigation_11 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_11',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_11').remove(); jQuery('#huge_it_catalog_popup_list_11 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_11').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 13:01:24 +0000] [/wp-content/plugins/woocommerce-catalog-enquiry/assets/frontend/js/chosen.js] [-] script not found:.script. function HugeCatalogSearch_12(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_12').css({ "display" : "none" }); jQuery('.catalog_load_block_12').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_12().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_12").css('display','block'); jQuery('#huge_it_catalog_container_12').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_12").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } jQuery("#huge_it_catalog_container_12").append(response); jQuery("#huge_it_catalog_container_12 img").load(function () { if( getCurrentElementsId_12().length .= max_count){ jQuery(".catalog_load_block_12").css('display','none'); } else jQuery(".catalog_load_block_12").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_12").append(response); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); } else { jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','block'); jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_12").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_12").css({ "display" : "" }); jQuery(".load_more_elements_12").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_12().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_12").ccolorbox({rel:'catalog_group' + i + "_12"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_12").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_12"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_12() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+12); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_12 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_12 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_12(searchText,'search','show_all',$ob_12); }); jQuery('#search_block_12 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_12 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_12('','search','show_all',$ob_12); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); }); jQuery('.show_all_12').click(function(){ jQuery('#search_items_12').find('#search_block_12 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_12('','show_all','show_all',$ob_12); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_12 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 12, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_12'); // add randomish size classes $container.find('.element_12').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_12', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_12 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_12', 'click', function(){ var strheight=0; jQuery(this).parents('.element_12').find('.wd-catalog-panel_12 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_12').hasClass("large")){ jQuery(this).parents('.element_12').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_12').removeClass("active"); return false; } jQuery(this).parents('.element_12').css({height:strheight}); jQuery(this).parents('.element_12').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_12').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_12').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_12 #sort-by'); jQuery('#huge_it_catalog_content_12 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_12 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_12 ul").height(); // jQuery("#huge_it_catalog_options_12").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_12").height(); // jQuery("#huge_it_catalog_filters_12").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_12 .image-block_12 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_12"../div.'); jQuery('#huge_it_catalog_popup_list_12').insertBefore('#huge-popup-overlay_12'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_12').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_12 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .popup-wrapper_12 .right-block ul.thumbs-list_12 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .heading-navigation_12 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_12',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_12').remove(); jQuery('#huge_it_catalog_popup_list_12 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_12').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 13:01:38 +0000] [/wp-content/plugins/woocommerce-catalog-enquiry/assets/frontend/js/chosen.js] [-] script not found:.script. function HugeCatalogSearch_11(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_11').css({ "display" : "none" }); jQuery('.catalog_load_block_11').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_11().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_11").css('display','block'); jQuery('#huge_it_catalog_container_11').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_11").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } jQuery("#huge_it_catalog_container_11").append(response); jQuery("#huge_it_catalog_container_11 img").load(function () { if( getCurrentElementsId_11().length .= max_count){ jQuery(".catalog_load_block_11").css('display','none'); } else jQuery(".catalog_load_block_11").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_11").append(response); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); } else { jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','block'); jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_11").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_11").css({ "display" : "" }); jQuery(".load_more_elements_11").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_11().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_11").ccolorbox({rel:'catalog_group' + i + "_11"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_11").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_11"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_11() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+11); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_11 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_11 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_11(searchText,'search','show_all',$ob_11); }); jQuery('#search_block_11 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_11 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_11('','search','show_all',$ob_11); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); }); jQuery('.show_all_11').click(function(){ jQuery('#search_items_11').find('#search_block_11 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_11('','show_all','show_all',$ob_11); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_11 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 11, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_11'); // add randomish size classes $container.find('.element_11').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_11', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_11 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_11', 'click', function(){ var strheight=0; jQuery(this).parents('.element_11').find('.wd-catalog-panel_11 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_11').hasClass("large")){ jQuery(this).parents('.element_11').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_11').removeClass("active"); return false; } jQuery(this).parents('.element_11').css({height:strheight}); jQuery(this).parents('.element_11').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_11').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_11').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_11 #sort-by'); jQuery('#huge_it_catalog_content_11 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_11 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_11 ul").height(); // jQuery("#huge_it_catalog_options_11").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_11").height(); // jQuery("#huge_it_catalog_filters_11").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_11 .image-block_11 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_11"../div.'); jQuery('#huge_it_catalog_popup_list_11').insertBefore('#huge-popup-overlay_11'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_11').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_11 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .popup-wrapper_11 .right-block ul.thumbs-list_11 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .heading-navigation_11 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_11',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_11').remove(); jQuery('#huge_it_catalog_popup_list_11 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_11').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 13:01:38 +0000] [/wp-content/plugins/woocommerce-catalog-enquiry/assets/frontend/js/chosen.js] [-] script not found:.script. function HugeCatalogSearch_12(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_12').css({ "display" : "none" }); jQuery('.catalog_load_block_12').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_12().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_12").css('display','block'); jQuery('#huge_it_catalog_container_12').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_12").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } jQuery("#huge_it_catalog_container_12").append(response); jQuery("#huge_it_catalog_container_12 img").load(function () { if( getCurrentElementsId_12().length .= max_count){ jQuery(".catalog_load_block_12").css('display','none'); } else jQuery(".catalog_load_block_12").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_12").append(response); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); } else { jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','block'); jQuery(".catalog_load_block_12").css('display','none'); jQuery('#search_block_12 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_12").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_12").css({ "display" : "" }); jQuery(".load_more_elements_12").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_12().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_12").ccolorbox({rel:'catalog_group' + i + "_12"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_12").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_12"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_12() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_12 .element_12').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+12); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_12 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_12 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_12(searchText,'search','show_all',$ob_12); }); jQuery('#search_block_12 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_12 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_12('','search','show_all',$ob_12); jQuery('#huge_it_catalog_content_12').find('#search_not_results_12').css('display','none'); }); jQuery('.show_all_12').click(function(){ jQuery('#search_items_12').find('#search_block_12 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_12('','show_all','show_all',$ob_12); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_12 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 12, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_12'); // add randomish size classes $container.find('.element_12').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_12', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_12 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_12', 'click', function(){ var strheight=0; jQuery(this).parents('.element_12').find('.wd-catalog-panel_12 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_12').hasClass("large")){ jQuery(this).parents('.element_12').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_12').removeClass("active"); return false; } jQuery(this).parents('.element_12').css({height:strheight}); jQuery(this).parents('.element_12').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_12').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_12').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_12 #sort-by'); jQuery('#huge_it_catalog_content_12 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_12 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_12 ul").height(); // jQuery("#huge_it_catalog_options_12").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_12").height(); // jQuery("#huge_it_catalog_filters_12").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_12 .heading-navigation_12 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_12").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_12 .image-block_12 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_12"../div.'); jQuery('#huge_it_catalog_popup_list_12').insertBefore('#huge-popup-overlay_12'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_12').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_12 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_12 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_12').height()){ jQuery('.pupup-element.active .popup-wrapper_12').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .popup-wrapper_12 .right-block ul.thumbs-list_12 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_12 .heading-navigation_12 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_12',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_12').remove(); jQuery('#huge_it_catalog_popup_list_12 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_12').removeClass('active'); } }); ./script. [Sun, 03 Sep 2017 13:17:57 +0000] [/2015/09/08/emme/] [-] script not found:.script. function HugeCatalogSearch_11(searchText,type,paginationType,view_obj) { var existElements,data,query,group_count,i,max_count; max_count = 2; data = {}; data.type = type; data.pagetype = paginationType; data.text = searchText; jQuery.extend(data,view_obj); if(type == 'load') { jQuery('.load_more_elements_11').css({ "display" : "none" }); jQuery('.catalog_load_block_11').find(".load_more_loading_icon").css({ "display" : "" }); existElements = '('+getCurrentElementsId_11().toString()+')'; data.elements = existElements; } else { jQuery(".catalog_load_block_11").css('display','block'); jQuery('#huge_it_catalog_container_11').html(''); } jQuery.post("http://furygaming.net/wp-admin/admin-ajax.php", data, function(response) { response = JSON.parse(response); query = response.query; var morePopups = response.morePopups; response = response.moreImages; if(view_obj.show_popup_linkbutton) {//when content popup jQuery("#huge_it_catalog_popup_list_11").append(morePopups); } if(type=='load') { if(!response) { jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } jQuery("#huge_it_catalog_container_11").jQuery(".catalog_load_block_11").css('display','block'); }); setTimeout(function () { if( jQuery(window).width() .= 600) { jQuery('.main-image-block.not_for_zoom').hide(); jQuery('.main-image-block.for_zoom').show(); } },100); if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } else { if(response != '') { jQuery("#huge_it_catalog_container_11").append(response); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); } else { jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','block'); jQuery(".catalog_load_block_11").css('display','none'); jQuery('#search_block_11 form . input').keyup(); } if(disable_right_click) { jQuery('section[id^="huge_it_catalog_content_"] img, ul[id^="huge_it_catalog_popup_list_"] img, div[id^="main-slider_"] img').bind('contextmenu', function () { return false; }); jQuery('#ccolorbox').bind('contextmenu', '#pcboxLoadedContent img', function () { return false; }); } } setTimeout(function(){ jQuery("#huge_it_catalog_container_11").hugeitmicro('reloadItems' ).hugeitmicro({ sortBy: 'original-order' }).hugeitmicro( 'reLayout' ); jQuery(".load_more_elements_11").css({ "display" : "" }); jQuery(".load_more_elements_11").parent().find(".load_more_loading_icon").css({ "display" : "none" }); }, 100); if(data.allow_lightbox == "on") { setccolorboxGrouping(); group_count = getCurrentElementsId_11().length; for(i = 0; i .= group_count; i++){ jQuery(".catalog_group" + i + "_11").ccolorbox({rel:'catalog_group' + i + "_11"}); } for(i = 0; i .= group_count; i++){ jQuery(".catalog_group_not_for_zoom" + i + "_11").ccolorbox({rel:'catalog_group_not_for_zoom' + i + "_11"}); } } zoom_resize(); // CALLING ELEVATEZOOM }); }; function getCurrentElementsId_11() { var ExistElementsArray = []; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ ExistElementsArray.push(jQuery(this).attr('data-element-id')); }); return ExistElementsArray; } function setccolorboxGrouping() { var i = 0; jQuery('#huge_it_catalog_container_11 .element_11').each(function(){ jQuery(this).find('img').parent('a').not('.not_for_zoom_class').removeClass().addClass('catalog_group'+i+'_'+11); i++; }); } /****.calling events for loading elements. ***/ jQuery(function(){ if('off' == 'on') { jQuery('#search_block_11 . form').submit(function(event){ event.preventDefault(); jQuery('#search_block_11 form . input').keyup(); var searchText = jQuery(this).find('input').val(); HugeCatalogSearch_11(searchText,'search','show_all',$ob_11); }); jQuery('#search_block_11 form . input').on('keyup',function(event){ event.preventDefault(); (jQuery(this).val() != '')?jQuery(this).next().css('display','block'):jQuery(this).next().css('display','none'); }); jQuery('#search_block_11 form . input+div').on('click',function(event){ event.preventDefault(); (jQuery(this).prev().val(''))&&(jQuery(this).prev().attr('placeholder','Search products...')); jQuery(this).css('display','none'); HugeCatalogSearch_11('','search','show_all',$ob_11); jQuery('#huge_it_catalog_content_11').find('#search_not_results_11').css('display','none'); }); jQuery('.show_all_11').click(function(){ jQuery('#search_items_11').find('#search_block_11 form . input').val(''); jQuery(this).css('display','none'); HugeCatalogSearch_11('','show_all','show_all',$ob_11); }); } /* .link href="http://furygaming.net/wp-content/plugins/product-catalog/Front_end/../style/colorbox-1.css" rel="stylesheet" type="text/css" /. .script. /***.add search for view. ***/ var $ob_11 = { action: 'my_action', post: 'load_more_elements_into_catalog', view: 2, catalog_id: 11, count_into_page: 1, allow_lightbox: "on", show_thumbs: "on", thumbs_position: "before", show_popup_title: "on", show_description: "on", show_price: "on", price_text: "Price", show_linkbutton: "on", linkbutton_text: "View Product", parmalink: "http://furygaming.net/fury-gaming-europe-passa-alla-fase-successiva-della-eslsec/", show_popup_linkbutton: "on" }; /***./add search for view. ***/ var allowZooming = 'off'; jQuery(function(){ var defaultBlockWidth=275; var defaultBlockHeight=275; var $container = jQuery('#huge_it_catalog_container_11'); // add randomish size classes $container.find('.element_11').each(function(){ var $this = jQuery(this), number = parseInt( $this.find('.number').text(), 10 ); //alert(number); if ( number % 7 % 2 === 1 ) { $this.addClass('width2'); } if ( number % 3 === 0 ) { $this.addClass('height2'); } }); $container.hugeitmicro({ itemSelector : '.element_11', masonry : { columnWidth : 275+20+2 }, masonryHorizontal : { rowHeight: 300+20 }, cellsByRow : { columnWidth : 300+20, rowHeight : 240 }, cellsByColumn : { columnWidth : 300+20, rowHeight : 240 }, getSortData : { symbol : function( $elem ) { return $elem.attr('data-symbol'); }, category : function( $elem ) { return $elem.attr('data-category'); }, number : function( $elem ) { return parseInt( $elem.find('.number').text(), 10 ); }, weight : function( $elem ) { return parseFloat( $elem.find('.weight').text().replace( /[\(\)]/g, '') ); }, id : function ( $elem ) { return $elem.find('.id').text(); } } }); var $optionSets = jQuery('#huge_it_catalog_options_11 .option-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){ var $this = jQuery(this); if ( $this.hasClass('selected') ) { return false; } var $optionSet = $this.parents('.option-set'); $optionSet.find('.selected').removeClass('selected'); $this.addClass('selected'); var options = {}, key = $optionSet.attr('data-option-key'), value = $this.attr('data-option-value'); value = value === 'false' ? false : value; options[ key ] = value; if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options ) } else { $container.hugeitmicro( options ); } return false; }); var isHorizontal = false; function changeLayoutMode( $link, options ) { var wasHorizontal = isHorizontal; isHorizontal = $link.hasClass('horizontal'); if ( wasHorizontal !== isHorizontal ) { var style = isHorizontal ? { height: '75%', width: $container.width() } : { width: 'auto' }; $container.filter(':animated').stop(); $container.addClass('no-transition').css( style ); setTimeout(function(){ $container.removeClass('no-transition').hugeitmicro( options ); }, 100 ) } else { $container.hugeitmicro( options ); } } $container.delegate( '.default-block_11', 'click', function(){ var strheight=0; jQuery(this).parents('.element_11').find('.wd-catalog-panel_11 . div').each(function(){ strheight+=jQuery(this).outerHeight()+10; //alert(strheight); }) strheight+=320; if(jQuery(this).parents('.element_11').hasClass("large")){ jQuery(this).parents('.element_11').animate({ height: "320px" }, 300, function() { jQuery(this).removeClass('large'); $container.hugeitmicro('reLayout'); }); jQuery(this).parents('.element_11').removeClass("active"); return false; } jQuery(this).parents('.element_11').css({height:strheight}); jQuery(this).parents('.element_11').addClass('large'); $container.hugeitmicro('reLayout'); jQuery(this).parents('.element_11').css({height:"320px"}); //alert(strheight); jQuery(this).parents('.element_11').animate({ height:strheight+"px", }, 300,function(){ $container.hugeitmicro('reLayout');}); }); var $sortBy = jQuery('#huge_it_catalog_content_11 #sort-by'); jQuery('#huge_it_catalog_content_11 #shuffle a').click(function(){ $container.hugeitmicro('shuffle'); $sortBy.find('.selected').removeClass('selected'); $sortBy.find('[data-option-value="random"]').addClass('selected'); return false; }); jQuery(window).load(function(){ $container.hugeitmicro({ filter: '*' }); }); ////filteringgggggg // bind filter on select change jQuery(document).ready(function(){ jQuery('#huge_it_catalog_filters_11 ul li').click(function() { // get filter value from option value var filterValue = jQuery(this).attr('rel'); // use filterFn if matches value filterValue = filterValue;//filterFns[ filterValue ] || $container.hugeitmicro({ filter: filterValue }); }); // var topmargin = jQuery("#huge_it_catalog_filters_11 ul").height(); // jQuery("#huge_it_catalog_options_11").css({'margin-top':parseInt(topmargin) + 5}); // var topmargin = jQuery("#huge_it_catalog_options_11").height(); // jQuery("#huge_it_catalog_filters_11").css({'margin-top':'5px'}); /* .-- VIEW 2 LOAD MORE CLICK */ /* */ /* VIEW 2 LOAD MORE CLICK --. */ /* .-- POPUP LEFT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .left-change").click(function(){ //var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); var height = jQuery(window).height(); //jQuery('#huge_it_gallery_pupup_element_'+strid).css({height:height*0.7}); var num = jQuery(this).find("a").attr("href").replace('#', ''); if(num .= 1){ var strid = jQuery(this).closest(".pupup-element").prev(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").prev(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").last().addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); /* .-- POPUP RIGHT CLICK --. */ jQuery("#huge_it_catalog_popup_list_11 .heading-navigation_11 .right-change").click(function(){ var height = jQuery(window).height(); var num = jQuery(this).find("a").attr("href").replace('#', ''); var cnt = 0; jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element").each(function(){ cnt++; }); // alert(num+" "+cnt); if(num .= cnt){ var strid = jQuery(this).closest(".pupup-element").next(".pupup-element").find('a').data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery(this).closest(".pupup-element").next(".pupup-element").addClass("active"); }else{ var strid = jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child a").data('popupid').replace('#',''); jQuery('#huge_it_catalog_pupup_element_'+strid).css({height:height*0.7}); jQuery(this).closest(".pupup-element").removeClass("active"); jQuery("#huge_it_catalog_popup_list_11").find(".pupup-element:first-child").addClass("active"); } if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } }); ////// }); }); jQuery(document).ready(function(){ jQuery('body').delegate('.element_11 .image-block_11 .image-overlay a', 'click', function() { var strid = jQuery(this).attr('href').replace('#',''); jQuery('body').append('.div id="huge-popup-overlay_11"../div.'); jQuery('#huge_it_catalog_popup_list_11').insertBefore('#huge-popup-overlay_11'); var height = jQuery(window).height(); var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7}); jQuery('#huge_it_catalog_popup_list_11').addClass('active'); jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child').addClass('active'); var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_11 li:first-child a img').attr('src'); jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_11 img').attr('src',strsrc); //alert(strsrc); if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 . jQuery('.pupup-element.active .right-block').height()){ if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .right-block').css('overflow-y', ''); jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); }else{ jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto'); } }else { if(jQuery('.pupup-element.active img').height() . jQuery('.pupup-element.active .image-block_11').height()){ jQuery('.pupup-element.active .popup-wrapper_11').css('overflow-y', 'auto'); } } return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .popup-wrapper_11 .right-block ul.thumbs-list_11 li a', 'click', function() { var width=jQuery(window).width(); if(width.=767){ jQuery('body').scrollTop(0); } jQuery(this).parent().parent().find('li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src')); return false; }); jQuery('body').delegate('#huge_it_catalog_popup_list_11 .heading-navigation_11 .close', 'click', function() { closePopup(); return false; }); jQuery('body').on('click','#huge-popup-overlay_11',function(){ closePopup(); return false; }); function closePopup() { jQuery('#huge-popup-overlay_11').remove(); jQuery('#huge_it_catalog_popup_list_11 li').removeClass('active'); jQuery('#huge_it_catalog_popup_list_11').removeClass('a