Skip to main content

Yahoo.Tree Scrollbars

1 reply [Last post]
dwhite
Offline
Joined: 2008-06-16
Points: 0

Hi,
Is it possible to add scrollbars to the yahoo.Tree widget? I have a large number of top level nodes in the tree and I would really need to set a maximum size for the tree and allow the user to scroll up and down to access the nodes.

Thanks very much in advance

David.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dwhite
Offline
Joined: 2008-06-16
Points: 0

appologies.. I think I posted prematurely. A quick google came up with the solution.

Just needed to add the overflow property to the div tag i.e.

style="height:400px ; overflow:auto"

my lack of html knowledge shining through :(