Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-08 Thread Greg Militello
Ryan, If you need incentive, I'd be willing to donate. :) Something that will save me hours is worth something to me.   -GregOn Aug 8, 2006, at 10:16 AM, Ryan Gahl wrote:Mandy, I am so sorry I haven't done anything like that yet. I'll get there. I've just been so busy. One of my big projects is get

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-08 Thread Ryan Gahl
Mandy, I am so sorry I haven't done anything like that yet. I'll get there. I've just been so busy. One of my big projects is getting close to coming to fruition (well relatively close anyway), at which time a lot of my (and my team's) works will be released (some open source and patch-type stuff l

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Tom Gregory
The short version: // 1. Create the copy. For this example in a variable called 'div', set your options // 2. Inside your mousedown handler, create your Draggable var d = new Draggable(div, {revert: false,  ghosting: false }); // 3. Pass the current event to Draggable.init() and Draggable.upd

RE: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Maninder, Singh
Ryan,   Since this is a very obvious problem and seeing your passionate responses to Drag/Drop over all these months :), why don't you submit a patch for this?   It will make everyone's life easier :)   -Mandy. ___ Rails-spinoffs mailing list Rails

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Greg Militello
I am running into the same issue (as apparently most people)...Anyone have a working example of this?  -GregOn Aug 7, 2006, at 12:31 PM, Tom Gregory wrote:I've also done this. (In #1, I meant move the "Draggable" to a different DOM position, not the "Droppable", which is the same intent as Ryan's s

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Tom Gregory
I've also done this. (In #1, I meant move the "Draggable" to a different DOM position, not the "Droppable", which is the same intent as Ryan's solution.)It certainly is tricky to implement.  To save me the trouble of trying to move around the "ghost," I created one at the "onclick", made it a Dragg

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Ryan Gahl
A 3rd option, which is what I use, is on drag start create a clone of the draggable item (just like if you use the ghosting option), and attach the cloned element at the _document_ level. This doesn't require you to break your design by showing overflow for items you want to keep the overflow hidde

Re: [Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Tom Gregory
Actually, it's working just like the CSS standard says it's supposed to. This problem can be a pain. This has been addressed on this list several times; here are some possible solutions. (This assumes you wish to drag the item outside of your scrolled list.) 1. Move the droppable outside (

[Rails-spinoffs] Dropables problem on scroll bars

2006-08-07 Thread Brian Feliciano
I have a droppable and draggable implementation. works pretty much well except when my droppables are on a scrollbar (created via overflow:auto) since my droppables are on a list.seems that the droppables aren't working well with scrollbars and overflow. please help!thanks! ___