w2sidebar.inView

Returns true if node is in visible area of the sidebear
inView(id)
id string, id of the sidebar node
Returns boolean.

Description

The node must exist in the .nodes array of the sidebar or its nested nodes. The node is identified by the .id property. The method will return true if node is in visible area of the sidebar.
If you have defined object in the following way: You can:

User Comments

comments powered by Disqus