On 6/13/06, Kjell Bublitz <[EMAIL PROTECTED]> wrote:
On 6/13/06, Leon Chevalier <[EMAIL PROTECTED]> wrote:

It looks to me like the two drop-down menus you have in your Flickr block
are causing the flickering in IE. I would suggest hiding any SELECT elements
with the starteffect function, then making them visible again with the
endeffect.

Thanks for this input. I however went a step further hiding everything but the title. I like it. :)

The SELECT elements however are only the "most visible" sideeffect. The flickering is gone for now (hidden actually), but the bad performance remains. Compare how "smooth" the dragging feels if you are on the sortable list and how it "stutters" if you are in the center/content. .. there is still something wrong and i have no idea what it could be.

Does anyone know how to spy all _javascript_ events? Maybe some tool or browser debugger. I have nothing more then my firefox with firebug which is actually good but doesnt show everything..

I am really lost here... why that performance drain if a draggable is not on a sortable? Now special effects, hidden content.. it makes no sense.

[ reply to self ]

I think i have found the problem: On each list-element i had a class called "block". I removed the class and now it works fine.

This is only a assumption (i have no idea what actually happens in the dragdrop.js) but it looks like having a class attribute on a draggable is not a good idea cause "something" is changing the class OR changing the style while dragging. I guess that little CSS-fight is going on in the background making the browser get into trouble rendering.. or whatever. Now while there is no more class attribute it seems that the Drag function has less to do and thus works faster..

I came to this conclusion because since i had removed the class attribute from the list-items dragging is working alot faster and basicly solved my problem. Has anybody else expirienced the same or someone with more insight could explain the how and why a bit better?

I would contribute but i have no idea what _really_ was wrong and why it now works after removing the class attrib from the LI.
 
Best regards,
Kjell
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to