[jQuery] Object vs. Array looping

2006-11-14 Thread Brendan O'Brien
Hi all,In the .css method an array is created by: d = [Top,Bottom,Right,Left];Then it is looped through using object looping:for ( var i in d ) { This probably isn't a problem for most people, but we have added functions to the Array prototype, so whenever the .css method is used it dumps the text

Re: [jQuery] Performance question

2006-10-09 Thread Brendan O'Brien
I have a somewhat related observation. I have discovered that when selecting by ID, the context parameter does not matter. In other words, these two statements are functionally equivalent:$(#myId); and$(#myId, myContext);It's as if when the id selector is passed then the $ method just uses a

[jQuery] Bug in Droppables and Code Revert

2006-09-25 Thread Brendan O'Brien
There is a bug in Droppables right now (I have the latest code, and the bug is also present on the Droppables demo page on interface.eyecon.ro), where the tolerance : pointer isn't working. I debugged a little and jQuery.iDrop.pointer is using the value of jQuery.iDrag.dragged.dragCfg.pointer.x

Re: [jQuery] Interface: draggables, droppables, and sortables

2006-09-21 Thread Brendan O'Brien
be dragging out a copy of each item, not the item itself. Again, that can be accounted for if the ghosting bug is fixed. Thanks guys! - Bryan Brendan O'Brien wrote: Hi, I'm responding to a few things in this post. First, I took a look at Bryan's example pages.The problem you see on the second page

[jQuery] Sortables conflicting with Droppables

2006-09-08 Thread Brendan O'Brien
with that. You can see where this is going... Any suggestions on this issue would be greatly appreciated.Thanks,Brendan O'Brien ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/