> From: "Bob Jamison" <bob...@gr...>
> Sent: 2005 August 11 Thursday 13:41
>
> 1) I'm using the 3.0 beta that is available for download on the site.
Right, but there's two 3.0 beta versions. Please clarify if it's
3.0.0-beta1 and 3.0.0-beta2. Make sure you have 3.0.0-beta2.
> Should I get the one off CVS? I'm not sure how to do that.
Since we recently had a release, you shouldn't need to get CVS. There
haven't been any changes to that code yet.
> 2) I'm on Windows XP. It doesn't work in any browser (firefox, IE,
> netscape).
>
> Just to clarify, the dragging of lyr1 works fine. What I want to
> happen is when you click on the layer bg1, then lyr1 should move to
> that point. Hence, I need to know the x and y as set on bg1, not to
> the page. But bg1 itself needs to be relative on the page. Does that
> make sense?
I think I understand now. Click somewhere on bg1 and have lyr1 move
there. Centered lyr1 around the point you clicked? And then what
happens? Continue to drag without lifting the button and clicking lyr1
to initiate a drag event? I've never done that, but I would guess I'd
add an onclick event listener to bg1, and have that handler move bg1,
centered, and attempt to invoke a drag event on bg1. I'd probably have
a delay between the move and the drag, maybe half second or quarter
second.
> Doug, I tried your example, but couldn't get it to load.
Well, we definitely should be working off the same example here. I got
his working with some tweaks of my own here and there, mostly just
changing the path to the initial dynapi.js script and the subsequent
setPath and fiddled with some layer sizes and positions. I'll try to
get a working example and post that.
Leif
|