(this).width(width+30);
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of thesubtledoctor
Sent: Tuesday, November 25, 2008 10:44 AM
To: jQuery (English)
Subject: [jQuery] scope issues in safari
I need to calculate the widths of the divs
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;
2 matches
Mail list logo