Take a look the following from jquery.ui-all-1.5b4.js:  -- it's inside
of the droppable() method's init method:


802 //Store the droppable's proportions
803 this.proportions = { width: this.element.outerWidth(), height:
this.element.outerHeight() };

I have been stuck for a while on an error this causes.  I am calling
droppable() on a div and I get an error saying this.element.outerWidth
is not a function.  Of course, because elements don't have an
outerWidth!  The div from which I'm calling droppable() has a width,
offsetWidth(), scrollWidth(), as checked with a Firebug breakpoint at
the time of calling droppable().  But it naturally does not have an
outerWidth().

This seems like an error in jquery-ui.  But if that were true,
wouldn't people have tripped over it everywhere?  Therefore it makes
me wonder what I am doing wrong instead.

Can anyone offer some insight about this?

Eric

Reply via email to