onmousedown onmousemove events not working correctly!!!

J

Jippie

I have problem with onMousedown onMousemove events in ie6.
I click on an image holding down the mouse button and drag across.
The OnMousemove is then fired maybe one or two times and then it isn't
called anymore.

If I put an error in the OnMousedown event everything works oK

Ideas??

Jippie

function OnMouseDown()
{
var eventelement = event.srcElement.id
// alert(eventelement) //TEST
if( eventelement == "mapImage" )
{
if( false == clipActive )
{
clickx = -1;
clicky = -1;
clipActive = true;
/* if I make an error HERE this will work */
sdfjsdfj
}
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top