I have some ul
elements with overflow: auto
. Most of them don't overflow but a few of them do. I want to initialise jScrollPane only on those elements that have overflow, that have a scrollbar.
I can't see an obvious way in the docs to do this!
Perhaps I need to detect the presence of a scrollbar in some other way and then nest my jScrollPane initialisation inside that?