[TYPO3] anyone know Javascript?

James Knuckey james.faction at gmail.com
Thu Dec 20 03:14:01 CET 2007


I'm trying to fix a couple of bugs in the dom-tooltips.js in the titletips  
extension.

1. The tooltip box in IE is not positioned next to the mouse cursor,  
instead it's way off to one side or the other. It also exhibits similar  
behaviour in Opera if the title attribute is in an img tag.

-- I found if the link or image were close enough to the bottom or the  
right-hand side the conditional comments would position the tooltip  
correctly - the coding was quite inconsistent. So a bit of cutting and  
pasting and changing pluses to minuses fixed this quite easily.

2. IE again - imagemaps bug. This seems to be fairly common - if the title  
attribute is in an area tag of an imagemap, IE displays both the titletip  
and its own built-in tooltip of the title. I want to get rid of the  
built-in IE one, it doesn't display on links or regular images. I've tried  
to add some code to remove or empty the title attribute from area tags but  
only succeed in breaking the script.

Any tips would be appreciated!

Also, how would I go about submitting a bugfix for this extension? Email  
the author I guess?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the TYPO3-english mailing list