[jQuery] Re: Safari unable to get width and height of image.

2008-05-29 Thread rbjaanes
Yes. :) On May 28, 7:19 pm, Ariel Flesler [EMAIL PROTECTED] wrote: You're calling the methods inside a document.ready, right ? -- Ariel Fleslerhttp://flesler.blogspot.com On 28 mayo, 13:47, rbjaanes [EMAIL PROTECTED] wrote: Seems as if Safari doesn't know the required info before

[jQuery] Safari unable to get width and height of image.

2008-05-28 Thread rbjaanes
Trying to use elem.height(); and elem.width(). Safari: 3.1.1 jQuery: 1.2.6 Element is set as draggable ... might have something to do with it.

[jQuery] Re: How to get element's number of position, mean eq()

2008-05-28 Thread rbjaanes
I believe you can use $('.Attention .Close').index(this); But if you are trying to retrieve to object you could ... $('.Attention .Close').click(function(){ alert $(this); }); I might be wrong though :) On May 28, 1:49 pm, mtest [EMAIL PROTECTED] wrote: Hello again:) My qгestion is: I

[jQuery] Re: Safari unable to get width and height of image.

2008-05-28 Thread rbjaanes
Seems as if Safari doesn't know the required info before the image is done loading. The functions work fine in debug console, and later events. The image properties are NOT set in styles or anything. That might be part of the issue, but I can't do more testing atm. On May 28, 1:32 pm, rbjaanes