[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-11-10 Thread bazikch
Hi, It smells like your element is not correctly extended. IE doesn't let you modify the element's _prototype_. You can find the explanation here (last section): http://www.prototypejs.org/learn/extensions Hope this help. On Nov 7, 11:43 am, Haraldo <[EMAIL PROTECTED]> wrote: > Hi there, > > I

[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-11-07 Thread Haraldo
Hi there, I have the same issue: var value = element.style[style]; Firefox 3 happens to register it as follows ( similar error in ie7 ): element is null line: 1903 Has anyone worked out what's going on here. I know it seems to affect the draggable items. My code is not affected at all. The e

[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-10-06 Thread blechler
Actually it says "style is null or not an object". Stupid IE. The Microsoft script debugger points me to line 1903 in prototype.js var value = element.style[style]; Thanks in advance. On Oct 6, 1:38 pm, blechler <[EMAIL PROTECTED]> wrote: > The patch to which you are linking works fine in FF3

[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-10-06 Thread blechler
The patch to which you are linking works fine in FF3, but in IE as soon as I try to drag something I get an error stating that 'style' is not defined. If you could please provide the code you tacked on to the end of your dragdrop.js file I would really appreciate it. On Sep 18, 3:50 am, bazikch

[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-09-18 Thread Anulith
Thanks so much! This was exactly what I needed. The only change I made was to the getDragElement function. I'm not sure why the author is appending to a fake iframe and didn't bother going back through all the posts to find out. If you change that line to document.body.appendChild(el) then it

[Proto-Scripty] Re: Drag and Drop with overflow auto

2008-09-18 Thread bazikch
Hello, I faced the same problem and after googling I found a patch at the following address: http://dev.rubyonrails.org/ticket/5771 Obviously it seems to work right only with the _ghosting_ options set to _true_, otherwise the dragged element disappear but still activate the droppable one. On 17