w2sidebar.scrollIntoView

Scroll nodes into view
scrollIntoView([id])
id string, optional, id of the sidebar node
Returns undefined.

Description

This method will scroll node with id = id into view. If no node specified, then selected node will be scrolled into view. The sidebar node is identified by the .id property. it will search the entire sidebar including all its nested nodes. The method returns the number of nodes it removes.
If you have sidebar defined in the following way: You can:

User Comments

comments powered by Disqus