multiline feature js bugfix
-
Hello!
Sry i little speak english …
https://webshopmedia.hu/arak-es-csomagoki create list repair js ….
my code:
jQuery(document).ready(function() { var cnt = 0; var liHeights = new Array(); jQuery(".pricing-table > .col1:first .feature-content > ul > li").each(function() { liHeights[cnt++] = parseInt(jQuery(this).height()); }); jQuery(".pricing-table .col1 .price-content > ul").each(function() { var ccnt = 0; jQuery("li",this).each(function() { if(parseInt(jQuery(this).height()) != liHeights[ccnt]) { jQuery(this).height(liHeights[ccnt]); } ccnt++; }); }); jQuery(".pricing-table .col1 .selectePrice-content > ul").each(function() { var ccnt = 0; jQuery("li",this).each(function() { if(parseInt(jQuery(this).height()) != liHeights[ccnt]) { jQuery(this).height(liHeights[ccnt]); } ccnt++; }); }); });
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘multiline feature js bugfix’ is closed to new replies.