# Example: URL navigation and iframes

This sample shows, how to use fancytree as a navigation menu.
The tree initialization uses `<a href='URL', target='TARGET'>title</a>` tags.
The `activate` 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.
A focused node will automatically be activated after 2 seconds (use the keyboard to try this out).
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.

Skin:

- Search engines
  - DuckDuckGo
  - DuckDuckGo (target='_self')
  - DuckDuckGo (target='_top')
  - Bing
  - WolframAlpha
- jQuery
  - jQuery
  - jQuery UI
  - API browser
  - Fancytree
- Misc
  - Welcome

Fancytree project home Link to this page Example Browser View source code