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.

  • 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.

  • Throughout 2022 Zingtree will be upgrading customers to our new faster and more modern user experience! Here's how to tell which experience your Zingtree Authors are currently using.

    Log in to your Zingtree Author account and navigate to My Trees. How does your current My Trees page look?

    Zingtree Classic

    2022-02-25_12-24-51.png

    New User Experience

    mceclip0.png

Was this article helpful?

1 out of 2 found this helpful

Have more questions? Submit a request