v2nek/webchat2

chatEditorPopup bad top left values

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
If you use IE7 the popups for smiles and text color doesn't work

What is the expected output? What do you see instead?
Instead use offsetTop and offsetLeft, use:
var positions = Position.page(this.element);
and them:
$(this.divContent).setStyle({top : (positions[1] - dimensions.height) - 2 +
'px', left : (positions[0] + 1) + 'px'});

This work on IE6, IE7 and FF2

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by bfpde...@gmail.com on 12 Jul 2007 at 8:49

it would be awesome if people actually told you _where_ changes go to...

Original comment by blade.e...@gmail.com on 4 Nov 2009 at 9:44

hmm. looks like it's supposed to go in chatEditor.js at line 288.  Doesn't help 
the 
problem for me, though.  

Original comment by blade.e...@gmail.com on 4 Nov 2009 at 9:51