blog
Safari div overlapping iframe bug?
I might have discovered a bug in Safari on Jaguar (OS X 10.2.6). When there's a absolutely positioned <div> that is overlaid on a iframe, javascript considers the screen area taken up by the iframe as 'outside' the div, causing the 'onmouseout' event to be triggered and hiding the extended menu. The javascript that controls the visibility of the <div> is set to hide it when the mouse leaves the box. I can't mouseover or click on the links in that div before it disappears.You can see this happening at http://www.archiveoflearning.net when you mouseover the "show all" link. If you move your mouse really slowly to the right, you can actually activate the mouseover on the links in the box, but if you move a bit more the whole box will disappear. This position actually coincides with the borders of the iframe below it. I've even set the z-index of the box to as high as 5000 but the iframe still inteferes. Safari is the only browser that behaves like this. I tested the page on IE6/Win, Mozilla Firebird and Camino and they all work correctly. The menu also works correctly when i remove the iframe from the page (which unfortunately is required because the client's web host doesn't support SSI or CGIs so I have to settle for a crude hack of using Blogger and an iframe). It also works correctly on any other page on the site because only the main page has the iframe.
Comments
report back to apple la..
btw..
the text table(?) width in the iframe box is larger than the iframe itself hence i have to scroll to the right to continue reading the text..
July 29, 2003 6:49 PM | jonathanpoh said:
i know that is a known problem in ie6/win.. will have to adjust the padding and margins.
October 7, 2003 11:19 AM | Graham said:
I've experienced this with the classic mm_menu originally developed by Netscape and currently distributed with Macromedia's Studio MX products.
My friend said that the only Mac browser that he was able to utilize the rollover immediately over the IFRAME was on Camino. On IE 5.5 for Win it works fine.
Have you found any solutions to this problem, elegant or otherwise? Please email.
March 10, 2004 6:38 PM | aamod K said:
The last mail in this thread is Oct 2003. Has anyone found a solution to this problem so far? If anyone knows the solution or a workaround please email.
March 27, 2004 2:39 AM | Doug said:
I'm also looking for a solution to this problem. Anyone found anything? If so, please email!
Thanks!
July 29, 2003 3:58 PM | colinpoh said: