[Rails-spinoffs] Re: _marker in dragdrop.js

2006-02-15 Thread Peter Michaux
anyone? On 2/9/06, Peter Michaux <[EMAIL PROTECTED]> wrote: > Hi, > > I've been confused about the purpose of _marker in dragdrop.js for > quite a while. It doesn't really look like it does anything with > ghosting on or off. I removed the mark method and didn't discover any > problems. Is all th

[Rails-spinoffs] Problem with auto scrolling in sortables

2006-02-15 Thread Alex Duffield
I have a div (ID = 'gallerybox') in that there are 50 divs each holding an image. The gallerybox div is only big enough to show 15 images without scrolling. (3 rows of 5)I have been eagerly awaiting the auto scrolling feature, but it doesnt seem to be working properly for me. What happens is the sc

[Rails-spinoffs] Insertion.Top does not work in IE 6

2006-02-15 Thread Farhan
Hi all, I have recently joined this mailing list and I'm not sure if this had already been answered. I have a function that gets called from the onload event and fills the drop-down ( tag) with the data from the database. The function is as follows: function initForm(frm) { switch (frm) {

RE: [Rails-spinoffs] problem with sortable lists and IE

2006-02-15 Thread Joe Hudson
I found out the solution to my problem... hopefully this will keep other people from the headache of what I have had to go through in recent days... It turns out that if the content type header has the charset: Content-Type: [text/javascript;charset=Cp1252], IE will puke when trying to get the res

[Rails-spinoffs] Draggables and overflow:auto

2006-02-15 Thread Robin Haswell
Hey guys. I'm trying to drag between two lists, except one list is really long so I set a height on the with overflow:auto. Unfortunately when I drag between the lists I can't drag items outside of the with the overflow on. Does anyone know how I can make this work? I think I might be able to

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-15 Thread Benjamin Mack
hey, In fact, I created something like (actually, a dashboard too) this but way simpler and not that sophisticated. But: What I didn't figure out was how I can make the others move while still dragging and how I got this nice little red border around while I was dragging it. Mmh, maybe I shou

RE: [Rails-spinoffs] Draggables and overflow:auto

2006-02-15 Thread Ryan Gahl
See the attached file (I changed the extension to .txt to get past my company's email security -- it doesn't like .js files) My dragdrop.js file is quite different from the official released versions.. so beware, you might want to spend some time looking at a side by side diff before trying to dep

RE: [Rails-spinoffs] Draggables and overflow:auto

2006-02-15 Thread Ryan Gahl
You may want to change it slighty, for instance, so that ghosting is not required... but all my draggables are ghosted in my application so that's just how I did it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl Sent: Wednesday, February 15,

Re: [Rails-spinoffs] Draggables and overflow:auto

2006-02-15 Thread Robin Haswell
Thanks dude. Did you submit a patch over this? Or was it ignored like every patch I submit. I'll give it a shot, but I've just spent some time working around this problem (but I've run in to it a couple of times). I realised that my application didn't really need DnD, and a button to copy the

RE: [Rails-spinoffs] Draggables and overflow:auto

2006-02-15 Thread Ryan Gahl
Nah, I've only ever just submitted my optimizations in isolation to this list (only a couple times so far)... seems like Thomas has his hands full though since he's not yet responded to any of my suggestions. I don't even bother with the wiki anymore. DnD has it's place, but you're right, always

[Rails-spinoffs] Array intersections

2006-02-15 Thread Todd Ross
Hello, I'm wondering if there's a way to do array intersections that I haven't found yet. I've been trying to use Array.without() for this, but it can't compare one Array to another. Is there a way to convert an Array to a list of parameters for a function call (which is what Array.without() is

Re: [Rails-spinoffs] Re: _marker in dragdrop.js

2006-02-15 Thread Ed C.
Take a look @ the source for "dragdrop.js" -- you'll see: 1) Marking is only enabled when ghosting is enabled. 2) The element with ID = "dropmarker" will automatically be shown & hidden. 2a) If that element doesn't exist, an empty DIV will be created for you. 3) The dropmarker element will automat

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-15 Thread Ed C.
If you set ghosting: false, the other items will move while around the selected item you're dragging. I haven't been able to implement a drop-space-indicator ("red border") yet instead, I've opted for using ghosting and a "fancy" image to leverage Sortable's built-in "dropmarker" effect. (This g