[Proto-Scripty] Re: DragDrop performances

2009-10-30 Thread david
Hi Mattia, it seems that you can't do what you're actually doing, prototype could not be able to correct IE lack of speed. But what do you want to do exactly ? So that we could (if we find something of course) give you some other idea ;)) -- david On 29 oct, 10:29, Mattia Locatelli

[Proto-Scripty] Re: DragDrop performances

2009-10-29 Thread Mattia Locatelli
Hi all, I make some tests, and I see the performance problem I have happen when the table is bigger than the window and so I have the scrollbars (I set the option scroll: window on my draggable but also without i have the same performance issue). I see the prepare function takes a lot fo time to

[Proto-Scripty] Re: DragDrop performances

2009-10-28 Thread Peter De Berdt
On 28 Oct 2009, at 14:36, MattiaLocatelli wrote: I'm experiencing a performance problem with drag and drop. I drag an image on an html table. I have only one draggable element (the image) and the problem is that until the table is not big in size (let's say 7 columns and 30 rows) the drag

[Proto-Scripty] Re: DragDrop performances

2009-10-28 Thread Mattia Locatelli
Hi, I don't have any droppable on the table or anywhere in the page. There is just one draggable element and no droppables. Like in the online sample. The code to create the draggable element is this : var draggable = new Draggable(objId, { scroll: window }); Well, I think I found something: I

[Proto-Scripty] Re: DragDrop performances

2009-10-28 Thread Mattia Locatelli
Hi all, I look with the IE8 profiler and I see the updateDrag function in IE8 takes in my page 456ms and in the IE7 compatibility mode 15 ms. I think there is soem problems with the recursive execution of this function. Thanks, Mattia 2009/10/28 Mattia Locatelli mattia.locatelli...@gmail.com