First of all I couldn't help but smile when looking at the URL. Several
years surfing so far and I had never seen the US domain being used :)
That said, on to your problem:
What you are facing here is not an API issue but a browser issue. The
big layer is the one where the events are captured. There is where the
API is listening for a mouse event. When you generate a mousedown, in NS
the event goes from the layer to the link. Therefore the API enters
before the link notices the event and can start the dragging.
In IE the event reaches the link before reaching the Layer, so the click
occurs before the API knows of the event.
You probably already knew that anyway. If I think of any one liner fix
I'll post it.
cya
bob basques wrote:
> An inconsistency (I'll go ahead and blame it on IE)
>
> I may have trouble explaining this, please bear with me.
>
> This link works perfectly (with what I've built so far and what I
> wanted) in Netscape 4.76:
>
> http://spatial.ci.stpaul.mn.us/dynapi/spatialHTML/drag5.html
>
> What it was supposed to do, is allow for dragging of the image and
> still maintain the hyperlinks in the imagemap. Works great. I was a
> bit concerned about what to precedence over what, Hyperlink vs
> Dragging.
>
> So, like the smug programmer I thought myself to be, I tested it in IE
> 5. Well if IE sees a Hyperlink, is seems to defer the dragging to the
> hot linking of the imagemap. Everything works in IE if the image is
> dragged from a non hyperlinked area, the centers of the streets for
> example. The Hyperlinks work too. I just am unable to drag from over a
> hyperlinked imagemap in IE.
>
> Is this something that can be addressed in the DragEvent in DynApi, or
> do I need to place the imagemap and image in seperate layers, and
> toggle functions based on mouse events (drag vs click)
>
> Thanks
>
> P.S. This one almost sounds like a worthy question. I suppose that
> someone will reply with a one liner fix though and spoil my fun.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help