Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extending draggable() function is not ok #6

Open
valugi opened this issue Nov 25, 2009 · 0 comments
Open

extending draggable() function is not ok #6

valugi opened this issue Nov 25, 2009 · 0 comments

Comments

@valugi
Copy link

valugi commented Nov 25, 2009

If somebody has already draggable elements in the page, you are changing the default binding behaviour of the dragged objects.

My solution is to comment out the overloading of draggable (151) and to change
//jQuery("#top_up").draggable({only: ".te_title,.te_top *,.te_bottom *"});
on 1005 (+-)
jQuery("#top_up").draggable({only: ".te_frame"});
Your photos keep dragging and mine as well.

You have there an if that prevents the drag to be applied to other elements, but my page could contain other draggable elements than yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant