This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: 02-Sep-2015 15:25 Last Post By: jGromit
jGromit

Posts: 33,151
Registered: 31-Jan-2006
Tooltips positioned incorrectly
Posted: 28-Aug-2015 12:59
 
  Click to reply to this thread Reply
Attachment ss000763.png (386,6 KB)
Attachment ss000764.png (180,5 KB)
In MS browsers (Edge, IE), the hover tooltips on the slide images are positioned incorrectly. See the attached screenshots, which are from Edge. They're OK in Chrome and FF.

(Discovered by another user: http://jalbum.net/forum/thread.jspa?threadID=49747)
jGromit

Posts: 33,151
Registered: 31-Jan-2006
Re: Tooltips positioned incorrectly
Posted: 01-Sep-2015 13:33   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Any help on this one?
Laza

Posts: 9,466
Registered: 6-Sep-2005
Re: Tooltips positioned incorrectly
Posted: 01-Sep-2015 14:03   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thanks for calling my attention. Probably the jQuery.offset() is not calculated properly on MAP elements, but it's really hard to debug. I will try anyway.
jGromit

Posts: 33,151
Registered: 31-Jan-2006
Re: Tooltips positioned incorrectly
Posted: 01-Sep-2015 14:32   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I gave up on using area maps for slide images (in Gromit), and switched to an absolutely-positioned anchor on the image. Much easier, since you don't have to do any computing of area coordinates.
Laza

Posts: 9,466
Registered: 6-Sep-2005
Re: Tooltips positioned incorrectly
Posted: 01-Sep-2015 15:41   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Yes, probably you are right.

I found the culprit: the MAP element does not inherit the parent's dimensions, only its child AREA element. Another thoughtful decision from the MS team :). I have fixed it, and also another bug in the UI which made the skin unusable, due to some changes in the underlying Java or Beanshell. I'll update the skin soon.
jGromit

Posts: 33,151
Registered: 31-Jan-2006
Re: Tooltips positioned incorrectly
Posted: 02-Sep-2015 15:25   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Tooltips look good in Edge and IE11 with the latest release. :)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums