Dobrý den,
děkuji za návod, ale v tom js. souboru tento kod bohužel nelze najít.. Jediné co tam je tomu se podobající, tak je tohle..
--------------------------------------------------------------------------------------------------------------------------------------
count++;
// add class 'selected' to the selected color
$('#color_' + attributesCombinations[a]['id_attribute']).addClass('selected').parent().addClass('selected');
$('input:radio[value=' + attributesCombinations[a]['id_attribute'] + ']').prop('checked', true);
$('input[type=hidden][name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']);
$('select[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']);
if (!!$.prototype.uniform)
$.uniform.update('input[name=group_' + attributesCombinations[a]['id_attribute_group'] + '], select[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']');
}
// find combination and select corresponding thumbs
if (count)
{
if (firstTime)
{
firstTime = false;
findCombination();
}
original_url = url;
return true;
}
// no combination found = removing attributes from url
else
window.location.replace(url.substring(0, url.indexOf('#')));
}
}
return false;
-------------------------------------------------------------------------------------------------------------------------------------------------
Radši jsem nic ještě neměnil..
Děkuji za pomoc.
Hezký večer..
Shopsilver