Not offhand. In theory, mouse down triggers the bind(mousemove) and
mouse up unbind's it, so you should not be seeing that behavior.
There is a small typo in the args/invert checking above, i randomly
added after pasting my test page into the email.
var invert = (args ? (args.invert || false) :
Pete,
Great little plugin there! I've done teh same using vanilla
JavaScript; have yet to convert it to jQuery but this is a nice
insight.
One problem (bug) is that you seem to have to click (then it freezes)
then release to move around, then re-click to cancel.
Do you know why the mouse handler
here's a stab.
use it the same as the link wrt the html/css, and then
$("#mydiv").DragPane({}); or
$("#mydiv").DragPane({ invert: true }); if the backwardness of it is
annoying to you.
leaving off the scrollbars would be a matter of styling the #myDiv
node overflow:hidden
jQuery.fn.DragPane = f
maybe you could modify this to listen for mousemoves?
http://www.freewebs.com/flesler/jQuery.ScrollTo/
On Jan 24, 10:57 am, "Rick Faircloth" <[EMAIL PROTECTED]>
wrote:
> I'd love to see that, too, but with the option to leave off
> the scrollbars. (Which may be an option already, I didn't take
I'd love to see that, too, but with the option to leave off
the scrollbars. (Which may be an option already, I didn't take
time to look)
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
> bradrice
> Sent: Thursday, January 24, 2008 9:5
5 matches
Mail list logo