D
dominpe
I am trying to draw a rectangle over an image in mozilla. For that, I
use 4 divs (one for each line in rectangle) and resize and move them
to make the rectangle draw. It is working in IE6 and IE7ok, but I must
do:
document.ondrag=function(){return false;};
document.onmousedown=function(e) {return false;};
and then it works in Mozilla. The problem is that i cannot get the
focus to any text field in the page (in IE6/7 works ok).
If I comment the above code, the text fields works again, but mozilla
tries to drag the image if I press and move mouse pointer.
Any clues?
use 4 divs (one for each line in rectangle) and resize and move them
to make the rectangle draw. It is working in IE6 and IE7ok, but I must
do:
document.ondrag=function(){return false;};
document.onmousedown=function(e) {return false;};
and then it works in Mozilla. The problem is that i cannot get the
focus to any text field in the page (in IE6/7 works ok).
If I comment the above code, the text fields works again, but mozilla
tries to drag the image if I press and move mouse pointer.
Any clues?