Hi.
I am trying to impement a draw-a-seletion-box-on-an-image-with-the-mouse thing, to allow the user to zoom into a specific rectangle of a picture.
So, I have written javascript to process mousedown, mousemove, and mouseup events. The selection box drawing works great over most the page, but if I try starting the mousdown on the image itself (which is what I would be wanting to do) the mousemove events are detected for a fraction of an inch (and my selection box starts drawing as I move), but then some background thing kicks in and a stop sign (black circle with a line through it) pops - after that I don't see the mousemove events or the next mouseup event. After I mouseup the mousemove events start coming through again.
Anyone know what is interrupting the mouse events and if they can be stopped. I am assuming something is trying to tell me that the image cannot be dragged. I thought it might have been the Image Toolbar stuff that pops up when you hover over an image (I am testing with IE6 right now) - but the interruption still occurs even if I disable the Image Toolbar.
Help!! and Thanks.



Reply With Quote

Bookmarks