How to include JavaScript in your Trees

  • Updated

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.

  1. Go to the Settings tool.
  2. Click the Code tab.
  3. 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.

Was this article helpful?

1 out of 4 found this helpful

Have more questions? Submit a request

Didn't find what you need?

Our friendly customer support team is here to help

Submit a Ticket

Looking for help or advice?

Reach out to our knowledgeable community of users.

Zingtree Community