# Example: URL navigation and iframes

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.

Search engines Google (target='contentFrame') Google (target='_self') Google (target='_top') Bing WolframAlpha jQuery jQuery jQuery UI API browser Dynatree Misc Welcome |

jquery.dynatree.js project home Link to this page Example Browser View source code