width = width + parseInt(thiswidth) + parseInt(padding);
> }
> jQuery(this).width(width+30);
> });
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of thesubtledoctor
> Sent: Tuesday, November 25, 2008
I need to calculate the widths of the divs of class 'clause'
dynamically based on the widths of their contents, divs of class
'word'. The following code works correctly in Firefox:
jQuery('div.clause').each(function(){
var width = 0;
jQuery(this).children('div.word').each(functi
2 matches
Mail list logo