I'm doing the same thing (Drag.Move on a large image inside a viewing
"window").

IE obviously doesn't handle it very well, but Safari and Firefox do
great.

I hadn't though of using scroller.  To get the adobe reader/google
maps grab functionality I guess you could have it scroll the opposite
direction of the mouse's movement.  Hmm ... I like it.  I really don't
like using drag and drop since IE handles all of it so poorly.

On Apr 14, 5:55 pm, nwhite <[email protected]> wrote:
> I'm not sure how your using Drag.Move but I would recommend giving Scroller
> a try. Harald has this 
> pagehttp://digitarald.de/playground/fly-over-background/it would probably take
> some work but should give you a good starting point. A while back I did some
> testing using background-position but found its slower then using the clip
> property, another possible alternative route to look into. Logic would
> suggest moving the whole image would be the slowest route.
>
> On Tue, Apr 14, 2009 at 3:20 PM, TheIvIaxx <[email protected]> wrote:
>
> > I'm not sure if this is a limitation of the browser or how mootools is
> > handling the drag.  I have it setup so there is a large image,
> > 2048x1536, that loads and is inside a window.  Sort of like a popup
> > image viewer for large images.  Anyway, when panning the image around,
> > its very slow.  the viewable area is almost all of the window so
> > you're seeing a lot of the image at once.  If i scale down the
> > viewable area, then its fast.  So i guess its due to just moving that
> > big image around and seeing so much at once.  Is there a better way of
> > doing this type of thing in JS/mootools?
>
> > I suppose flash would handle this just fine, but i'd like to keep this
> > in js if possible.
>
> > Thanks

Reply via email to