This sample shows, how to use dynatree as a navigation menu.
The tree initialisation uses <a href='URL', target='TARGET'>title</a>
tags.
The onActivate
handler then uses node.data.href
to open the the pages in the embedded iframe.
Note that the navigation will fallback to standard HTML links,
when JavaScript is disabled.
The [Toggle tree] button in the embedded welcome page also gives an example on
how to access a tree that exists outside the own frame.
|
jquery.dynatree.js project home Link to this page Example Browser View source code