[jQuery] Re: scope issues in safari

2008-11-26 Thread thesubtledoctor
Thanks alot for the suggestion. It didn't work though. I'm at a loss. Is this a jQuery bug, or am I doing something wrong? On Nov 25, 3:53 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: You could try this:     jQuery('div.clause').each(function(){       var width = 0;       var words =

[jQuery] Re: scope issues in safari

2008-11-26 Thread Jeffrey Kretz
Can you post a test case url showing this issue? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thesubtledoctor Sent: Wednesday, November 26, 2008 11:37 AM To: jQuery (English) Subject: [jQuery] Re: scope issues in safari Thanks alot

[jQuery] Re: scope issues in safari

2008-11-25 Thread Jeffrey Kretz
You could try this: jQuery('div.clause').each(function(){ var width = 0; var words = jQuery(this).children('div.word'); for (var i=0;iwords.length;i++) { var word = words.eq(i); var thiswidth = word.width(); var padding =