Since Zingtree loads the entire tree at once, adding Javascript to your tree can be unpredictable when including it into the content area of a node. However, you can use the Settings tool to gracefully add code to your tree.
- Go to the Settings tool.
- Click the Code tab.
- Include the code you want to include, under Include this JavaScript Code. This code will be placed in front of the </body> tag.
Important: Make sure to place <script> and </script> tags around your code.
Note: You can also place CSS snippets in this area. Make sure to place <style> and </style> tags around your CSS code.