When you assign a function to an Ajax event:
{ ... onComplete: showInfo }
I see that the Ajax object is passed into the showInfo function, but how
would I pass in additional variables I'll need, or can I custom define what
I'll need in the Ajax options hash and access it that way?
Thank you
Dani
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
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
>> what's the simplest way to convert the entire returned object to a string for inspection
use responseText instead?
On 7/28/06, Sam <[EMAIL PROTECTED]> wrote:
Greg,
OK, there's objects in objects. Nice...
For debugging purposes, what's the simplest way to convert the entire returned obj
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
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
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
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 (
Hi *,
in my current project I've got a list, where all the list items are
draggables. No problem in Firefox or Safari but in IE. The items are
simply not draggable. There is no JavaScript error or somthing which
gives me clue.
For testing purposes I also removed everything except for a text from
w
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!
___
10 matches
Mail list logo