Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Droppable tolerance
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
edwin@secureoffice.net  
View profile  
 More options Nov 3, 12:48 pm
From: "ed...@secureoffice.net" <ed...@secureoffice.net>
Date: Tue, 3 Nov 2009 09:48:09 -0800 (PST)
Local: Tues, Nov 3 2009 12:48 pm
Subject: Droppable tolerance
Hi,

I have a collapsable/expandable tree menu for folders on my server. I
was trying to make a file draggable and droppable on a folder.

All works well on the folders that are visible in the tree after page
load. But if I expand a part of the tree, there appears to be no
droppable area for the newly shown folders. They have a link and all,
and they have been set up as a droppable, but no event is triggered
when I drag a file over it.

Someone who has experienced the same? Is it solvable? Can I
dynamically 'activate' the droppable?

Regards,

Edwin


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile  
 More options Nov 6, 12:57 am
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Fri, 6 Nov 2009 00:57:07 -0500
Local: Fri, Nov 6 2009 12:57 am
Subject: Re: [jquery-ui] Droppable tolerance

Are these new droppables being added dynamically while the draggable is
being dragged?

Are you calling .droppable() on these elements after they're brought into
the page?

Can you share a live sample page?

- Richard

On Tue, Nov 3, 2009 at 12:48 PM, ed...@secureoffice.net <


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edwin@secureoffice.net  
View profile  
 More options Nov 6, 6:48 am
From: "ed...@secureoffice.net" <ed...@secureoffice.net>
Date: Fri, 6 Nov 2009 03:48:55 -0800 (PST)
Local: Fri, Nov 6 2009 6:48 am
Subject: Re: Droppable tolerance
Hi Richard,

No, the droppables are already there for all the folders. They are
added when the tree is built.

I created an account for you at our dev server http://dev.secureoffice.net:
- user: rdwo...@gmail.com
- pwd: rdworth
- site: ORANGEPORT

Start with the folder Archive collapsed, then expand it. Don't refresh
the page. Drag a file from Root to the subfolder 'JQuery test' by
dragging its icon. If the folder background becomes yellow, you can
drop it.

On 3 Nov, 18:48, "ed...@secureoffice.net" <ed...@secureoffice.net>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile  
 More options Nov 6, 7:59 am
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Fri, 6 Nov 2009 07:59:09 -0500
Local: Fri, Nov 6 2009 7:59 am
Subject: Re: [jquery-ui] Re: Droppable tolerance

I inspected the span with Firebug and it's not a droppable, as it doesn't
have the ui-droppable class.

- Richard

On Fri, Nov 6, 2009 at 6:48 AM, ed...@secureoffice.net <


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edwin@secureoffice.net  
View profile  
 More options Nov 6, 8:20 am
From: "ed...@secureoffice.net" <ed...@secureoffice.net>
Date: Fri, 6 Nov 2009 05:20:32 -0800 (PST)
Local: Fri, Nov 6 2009 8:20 am
Subject: Re: Droppable tolerance
But I do write that in the script. If you look in the source, it is
there.

On Nov 6, 1:59 pm, "Richard D. Worth" <rdwo...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard D. Worth  
View profile  
 More options Nov 6, 8:33 am
From: "Richard D. Worth" <rdwo...@gmail.com>
Date: Fri, 6 Nov 2009 08:33:07 -0500
Local: Fri, Nov 6 2009 8:33 am
Subject: Re: [jquery-ui] Re: Droppable tolerance

You're calling .droppable(options) on the following elements

#tree_folder_8
#tree_folder_96
#tree_folder_97
#tree_folder_95

but you're doing that when the page loads. At that time, #tree_folder_97 is
not on the page. You need to call .droppable() on that element after it is
added to the page.

- Richard

On Fri, Nov 6, 2009 at 8:20 AM, ed...@secureoffice.net <


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edwin@secureoffice.net  
View profile  
 More options Nov 6, 1:18 pm
From: "ed...@secureoffice.net" <ed...@secureoffice.net>
Date: Fri, 6 Nov 2009 10:18:28 -0800 (PST)
Local: Fri, Nov 6 2009 1:18 pm
Subject: Re: Droppable tolerance
Thanks, Richard. That made things clearer. I have now integrated
calling .droppable when the folder is expanded and it works when
starting a new drag.

Just one Q: how can I force the .droppable to be executed at the time
that the div is created? I mean, if I would make the folder expand on
mouseover, I need to run that bit of script to activate it.

On Nov 6, 2:33 pm, "Richard D. Worth" <rdwo...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
intrader  
View profile  
 More options Nov 6, 2:40 pm
From: intrader <intrader.intra...@gmail.com>
Date: Fri, 6 Nov 2009 11:40:02 -0800 (PST)
Local: Fri, Nov 6 2009 2:40 pm
Subject: Re: Droppable tolerance
It would be helpful if you provide a site or the code.

On Nov 3, 9:48 am, "ed...@secureoffice.net" <ed...@secureoffice.net>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edwin@secureoffice.net  
View profile  
 More options Nov 8, 4:54 am
From: "ed...@secureoffice.net" <ed...@secureoffice.net>
Date: Sun, 8 Nov 2009 01:54:37 -0800 (PST)
Local: Sun, Nov 8 2009 4:54 am
Subject: Re: Droppable tolerance
If you read the thread, you would see that I already did...

On Nov 6, 8:40 pm, intrader <intrader.intra...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google