TheProjecter / webchat2

Automatically exported from code.google.com/p/webchat2
GNU General Public License v2.0
0 stars 0 forks source link

chatEditorPopup bad top left values #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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