Hello Aaron
Thanks for replying - I meanwhile figured out that for Safari to get
the same results as Firefox, I need to preload the image? Does that
make sense?

On Nov 4, 9:17 am, Aaron Newton <[email protected]> wrote:
> can you put an example of this failing on mooshell.net?
>
>
>
> On Tue, Nov 3, 2009 at 9:45 PM, mmjaeger <[email protected]> wrote:
>
> > Hello
> > I'm having an issue with the following code:
>
> > var tsize = this.thumbs[0].getDimensions({ computeSize: true, styles:
> > ['margin', 'padding', 'border'] });
> > console.log('tsize: ' + tsize.totalWidth);
> > console.log('tsize: ' + tsize.totalWidth);
>
> > console.log('computed size: ' + this.thumbs[0].getComputedSize
> > ().totalWidth);
>
> > in both cases, Firefox returns 95 which is correct while Safari
> > returns 0
>
> > I'm using 1.2.4 and 1.2.4.2 - Am I doing anything wrong or what's the
> > issue and how could I get the correct values?
>
> > Thanks

Reply via email to