OuterWidth has been include along with the rest of Dimensions' methods into jQuery 1.2.4a which (as far as I know) is the release that comes with the last UI.
Are you seeing this on Safari ? I got a failing test on Safari for outerWidth. -- Ariel Flesler http://flesler.blogspot.com On 11 mayo, 21:59, Eric Ongerth <[EMAIL PROTECTED]> wrote: > 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