T
Terri I.
I have an application that displays a map for user manipulation.
For example, they can click on the map to zoom in or to retrieve a more
detailed map of a selected area.
But with IE, I also want them to be able to copy the map to the clipboard
via the context menu. But the way it is working now, when the user rightclicks
on the map image, the context menu displays but my application is also
capturing the click as if they want to do something to the map. How can the
2 co-exist??
Here is line of code that writes out the map image and captures the events:
document.write('<img name="Map" src="#OUT_ImageURL#"
width="#Session.LayerInfo.ImageWidth#" height="#Session.LayerInfo.ImageHeight#"
border=1 oncontextmenu="HandleRightClick();"
onMouseUp="if (IERightClick != 1) {alert(\'right button not clicked\');
setMapCoords();MapForm.submit();} else { InitVal(); alert(\'resetting
ierightclick\');}">')
For example, they can click on the map to zoom in or to retrieve a more
detailed map of a selected area.
But with IE, I also want them to be able to copy the map to the clipboard
via the context menu. But the way it is working now, when the user rightclicks
on the map image, the context menu displays but my application is also
capturing the click as if they want to do something to the map. How can the
2 co-exist??
Here is line of code that writes out the map image and captures the events:
document.write('<img name="Map" src="#OUT_ImageURL#"
width="#Session.LayerInfo.ImageWidth#" height="#Session.LayerInfo.ImageHeight#"
border=1 oncontextmenu="HandleRightClick();"
onMouseUp="if (IERightClick != 1) {alert(\'right button not clicked\');
setMapCoords();MapForm.submit();} else { InitVal(); alert(\'resetting
ierightclick\');}">')