thanks
the problem with IE is, that x and y measurements of the colorpickerimage are some pixels out. Normally the IE starts clientX and clientY at (2,2) - but the colorpicker needs an adjustment of 3 pixel.
Now I changed the JS function hColorPickerMouseMove(ev) to:
[code:1]function hColorPickerMouseMove(ev){
ev = ev || window.event;
var de = document.documentElement;
var b = document.body;
var correctX = (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
var correctY = (de.scrollTop || b.scrollTop) - (de.clientTop || 0);
if (correctX == -2) correctX = -3;
var hCPImg = ev.target || ev.srcElement;
var mousePos = mouseCoordinates(ev);
cp.colorPos = getPosition(hCPImg);
var x = mousePos.x-cp.colorPos.x+correctX;
var y = mousePos.y-cp.colorPos.y; //+correctY //not needed?!?
var width = parseInt(hCPImg.offsetWidth);
var height = parseInt(hCPImg.offsetHeight);
var color = getHorizColor(y*width+x, width, height);
try
{
cp.hColorDiv.style.backgroundColor = cp.cpColor = '#'+color;
}
catch (e)
{
alert('Error: ' + e + ' - color: ' + color);
}
}[/code:1]