[Project_owners] Attribute "tooltip" set to "_child"

Didier Ernotte didier at ernotte.com
Thu Jul 27 07:24:52 EDT 2006


Hi Neil,
Thanks for your answer. I put the tooltip attribute on the vbox parent of the image, and everything is fine now.

Didier

Neil <neil at parkwaycc.co.uk> wrote: Didier Ernotte wrote:

>         image.setAttribute("tooltip", "_child");
>         var tooltip1 = document.createElement("tooltip");
>         image.appendChild(tooltip1);

I read somewhere that some XUL widgets, such as images and iframes, get 
special processing which might explain the effect you see.
Try putting the tooltip and image in a containing box.
_______________________________________________
Project_owners mailing list
Project_owners at mozdev.org
http://mozdev.org/mailman/listinfo/project_owners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20060727/400d8e08/attachment.htm


More information about the Project_owners mailing list