Thanks again Karl.

On Jul 14, 11:12 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hmmm. Off the top of my head ... if the div has id="foo", something
> like this:
>
> if ($('#foo')[0].scrollWidth < $('#foo').width()) {
>    // the scroll bar is showing.
>
> }
>
> --Karl
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jul 14, 2008, at 12:03 PM, fambi wrote:
>
>
>
> > Hi all. Assuming a div has overflow: auto, how can I know whether the
> > scroll bar is showing or not?
> > Thanks

Reply via email to