Skip to end of metadata
Go to start of metadata

Hi there,
I wanted to customize my dashboard.
I wanted add some javascript functionality to the dashboard. such as when a user hovers over a link or an image javascript function should be called.
I dont know how to use the theme buider to write and call such javascript functions.
Thanks,
Nikunj

  • No labels

3 Comments

  1. Unknown User (gfraser)

    We normally create a User Macro (in the Admin console) to inject the JS code for specific pages.

    1. Unknown User (nikunj.jariwala_ra@yahoo.com)

      can you give a simple example on how to do that?

      1. Unknown User (gfraser)

        Not easily as we don't know what JavaScript you're using. The User Macro simply outputs it's "template" as HTML allowing you to inject your script in to the page where it's used. Once you've made the user macro, just use it as you would any other macro in Confluence.