Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have multiple HTML macros running on a page? Only one works right now

Ashwin Pozath
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!
July 17, 2019

I have two separate html macros that I want to run which essentially are image slideshows. Currently when I try to run both of them, only one of the displays work. Has anyone else had this issue? 

 

2 answers

0 votes
Davin Studer
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.
July 17, 2019

You can put multiple HTML macros on a page. However, that is also a somewhat big security risk. A more secure way to do it if possible would be to create users macros for your HTML content and put those on the page. But regards less there is no issue with putting multiple HTML macros on a page. I would suspect there is something in the JS that is not working correctly because it is included multiple time on the page.

0 votes
Aleksandr Zuevich
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.
July 17, 2019

Hi,

I suppose it depends on image slideshows. Maybe there are the same global variables used in these two html/js fragments.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events