Weird, minor, but very annoying issue with generated DOM-elements in IE7

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am building a javascript library for tooltips and generating message
boxes on the screens. Everything works fine in the major browser, but
with IE7 there is a small but weird and annoying problem.

The boxes that are created with javascrript can be opaque
(transparent). In IE7 opacity for text boxes is not trivial: one has
to sandwich a box containing the css filter property between the text
and a container element, otherwise the text in such a box is jagged
(not anti aliased/cleartyped). Well, I worked that out previously.

Now if I create and show a message box with opacity on the screen, and
after that hover over an element with a tooltip, the opaque layer of
the message box looses a few pixels.

This is really weird. Every box created has it's own id, the
childNodes of those boxes also have a unique identifier, and all
methods and properties of such boxes are set on those specific boxes
alone. In other words, there should be no relation whatsoever between
the boxes that are created in the DOM (you can check this with IE's
developer toolbar for example). Still, an open (i.e. visible)
messagebox reacts to opening a tooltip (which in essence is a
messagebox too).

The library can be seen in action @ http://localhost/includejs/ie7problem.html.
Click on 'Click to open a messagebox', and after that hover over
'Hover me for a tooltip'.

Anyone seen this problem? Anyone can point me to a solution?

Thanks in advance en regards,

Renzo Kooi/NICon
.



Relevant Pages

  • Re: balloon tip on a button?
    ... tooltip to the button. ... "Nak" wrote in message ... text boxes, but I can't get it to appear on anything else. ... Nick. ...
    (microsoft.public.dotnet.languages.vb)
  • title attributea are not displayed
    ... I have a page that has some acronym elements with title ... properly displayed in tooltip like boxes. ... And if so is there a workaround? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: VBA Controls, when value changes boxes not enabled
    ... I think I have the answer - I need to redraw the screen to make it work. ... It lets me mockup screens easily, ... I have a combo box on a slide. ... I want other boxes to appear. ...
    (microsoft.public.powerpoint)
  • Re: VBA Controls, when value changes boxes not enabled
    ... It lets me mockup screens easily, ... I have a combo box on a slide. ... I want other boxes to appear. ... I have used the controls toolbar to put the various boxes on my slide. ...
    (microsoft.public.powerpoint)
  • Querying machine name in AD
    ... We have a new machine build process that begins with a boot cd and then ... goes through couple of dialog boxes to gather information from the user. ... How can I query AD whether the machine name that the user has entered, ... exist in AD then the user can move onto the other screens or else I can ...
    (microsoft.public.scripting.wsh)