JAMSTORE this is encrypted

Recipes
 

Recipe Filter module

Categoria

Dosi per (num persone)

"); } }); }); function dynobox211(target) { var form = jQuery("#K2FilterBox211 form"); var url = jQuery("#K2FilterBox211 form:eq(0)").attr("action"); var fields = form.find("select"); var parent_block = jQuery(target).parent().parent(); form.find('div.k2filter-cell').not(parent_block).find(".dynoloader").show(); var field_type = ""; var field_id = ""; field_type += '&field_type[]=category_multiple_select'; field_id += '&field_id[]=10000'; field_type += '&field_type[]=multi_select_autofill'; field_id += '&field_id[]=2'; var query = jQuery("#K2FilterBox211 form").find(":input").filter(function () { return jQuery.trim(this.value).length > 0 }).serialize(); var selected_count_current = 0; jQuery("#K2FilterBox211 form").find("select").each(function() { if(this.value.length > 0) { selected_count_current++; } }); jQuery.ajax({ dataType: "json", data: query + "&format=dynobox" + field_type + field_id, type: "GET", url: url, success: function(res) { if(res.length > 0) { jQuery(res).each(function(k, field) { //touch only next fields // if(k -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && jQuery(initbox).attr("name").indexOf("category") > -1 ) ) { jQuery(this).show(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } else if(field.name == 'tag_select' || field.name == 'tag_multi_select') { var filter = form.find("select[name*=ftag]"); if(filter.length == 0) { filter = form.find("select[name*=taga]"); } if(typeof filter.attr("name") === 'undefined') { return; } filter.find("option").not(".empty").each(function(k) { var form_val = jQuery(this).text(); if( jQuery.inArray(form_val, field.values) > -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && (jQuery(initbox).attr("name").indexOf("ftag") > -1 || jQuery(initbox).attr("name").indexOf("taga") > -1) ) ) { jQuery(this).show(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } else { var filter = form.find("select[name=searchword"+field.id+"]"); if(filter.length == 0) { filter = form.find("select[name=searchword"+field.id+"\\[\\]]"); } if(filter.length == 0) { filter = form.find("select[name=array"+field.id+"\\[\\]]"); } if(typeof filter.attr("name") === 'undefined') { return; } filter.find("option").not(".empty").each(function(k) { var form_val = jQuery(this).text().trim(); if( jQuery.inArray(form_val, field.values) > -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && filter.attr("name") == jQuery(initbox).attr("name") ) ) { jQuery(this).show(); if(jQuery(this).parent().is("span")) { jQuery(this).unwrap(); } if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } //added for link the value if(jQuery(target).find(":selected").val() != "") { jQuery(this).addClass(jQuery(target).find(":selected").text()); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(!jQuery(this).parent().is("span")) { jQuery(this).wrap(""); } if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } }); } // else { // form.find("select").each(function() { // if(jQuery(target).attr("name") == jQuery(this).attr("name")) return; // jQuery(this).find("option").not(".empty").hide(); // if(jQuery(this).next().attr("type") == "button") { // jQuery(this).multiselect("widget").find(".ui-multiselect-checkboxes li").hide(); // } // }); // } form.find(".dynoloader").hide(); } }); }

ABSo Simple Search

Our sweet recipe catalog

Ricette

36 Contenuti36 Contenuti

Qualche indecisione su cosa preparare per un pranzo veloce o una cena in grande stile? Fai la spesa da Ipertriscount e poi mettiti ai fornelli con i nostri consigli per la tavola.


SottocategorieSottocategorie

Piatti vegetariani

Piatti vegetariani

9 Contenuti9 Contenuti
   Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ...
Ricette per piatti con poche calorie

Poche calorie

3 Contenuti3 Contenuti
    ...
Piatti di stagione

Piatti di stagione

8 Contenuti8 Contenuti
    ...



?>

Notice: Undefined index: cat_pagination_icon.png in /var/www/vhosts/jamstore.it/httpdocs/templates/ike/html/com_k2_src/layouts/common/cat_pagination.php on line 18
Pagina 3 di 3