PDA

View Full Version : Tooltips on tabs - anchor tag not updated



froggman2k
3 May 2007, 1:34 PM
Good day all-

I am seeing an issue whereby when the tooltip for a *tab* is updated, only the tooltip on the text itself is updated, but the surrounding anchor tag still has an old tooltip.

Attached is a screenshot of the layout that I'm referencing in firebug... You can see that the tooltip is updated on the span, but not the anchor, and so if the user hovers *around* the area that the span covers, they get a different tooltip.

Any suggestions about this? I've tried using setTooltip on the tab, setToolTip on the panel, but to no avail.

Note: We are using 0.33.rc3, and upgrading isn't an option this late in the game.

Thanks!

Cynthia

tryanDLS
3 May 2007, 2:49 PM
I don't see how in the .33 code you're getting a title attribute on the a tag at all. The templates in tabpanel only put it on the inner span.

froggman2k
4 May 2007, 8:47 AM
Hmm, okay... Well I uploaded a screenshot of it, so I'm not sure what to do with your response. Are you making a suggestion here that I missed maybe?

tryanDLS
4 May 2007, 11:38 AM
It's possible that it was something removed between rc3 and .33 final - it's not happening in my version. You could look at the source of TabPanel.prototype.createStripElements and see if the templates are putting the title on the a tag. It's unfortunate that you never upgraded to the final release, I don't have any way of determining what changed. If you want the .33 final zip, PM me. At some point, you're gonna have to bite the bullet and upgrade - the support for .33 is pretty much limited to my ability to try and dup your issues.