Equipos Auxiliares
- Todos
- Accesorios
- Bancos De Trabajo
- Bloques
- Lapeadoras
- Manejo
- Montajes
- Software
- Tarjetas Electrónicas
jQuery(document).ready(function(){
function resbugk() {
jQuery('.rotscript').hide();
var num = 0;
var numoriz = 0;
var heighttmpk = 0;
var heighttmpkoriz = 0;
jQuery('.portfk .akakak').each(function(){
var imgk = jQuery(this).find('img');
//console.log(imgk.width(),imgk.height())
if(imgk.width() > imgk.height())
{
jQuery(this).addClass('orizk');
heighttmpkoriz += jQuery(this).find('img').height();
numoriz++;
}
else
{
jQuery(this).addClass('vertk');
heighttmpk += jQuery(this).find('img').height();
console.log(heighttmpk)
num++;
}
});
heighttmpk = ((heighttmpk==0)?0:parseInt(heighttmpk/num))+160;
heighttmpkoriz = parseInt(heighttmpkoriz/numoriz)+160;
console.log('aa=',heighttmpk);
//jQuery('.akakak.vertk').css('min-height',heighttmpk+'px');
jQuery('#stk').html('.akakak.vertk {min-height: '+heighttmpk+'px;} .akakak.orizk {min-height: '+heighttmpkoriz+'px;}');
}
jQuery(window).resize(function() {
if(jQuery('.elementor-editor-active').length)
{
return;
}
resbugk();
jQuery('.portfk .lqd-pf-row').masonry();
});
resbugk();
setTimeout(function(){
resbugk();
jQuery('.portfk .lqd-pf-row').masonry();
}, 1000);
});









