How to add Javascripts in Confluence wiki.?

DEEPAK
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2012

I was trying to insert some javascripts in the HTML head for the navigation of my menus. But it is not working properly. But when i run the html and JScript from the local machine it is running fine. When i insert the same html code & JScript in the HTML macro of Wiki confluence it is not working fine.

It would be great if someone could help me in how to insert the JScript code in Wiki Confluence.


Thanks in advance

1 answer

0 votes
GuilhermeA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2012

Hello Deepak,

It could be that your local proxy/firewall is blocking malicious code from running in the server, based on this coment here:

But when i run the html and JScript from the local machine it is running fine

I believe that you may need to check the network for something preventing this from running.

For troubleshooting purposes you can try to enable firebug and see the code running.

Hope this helps you get in the right track,

Cheers,

Guilherme

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events