Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,925
Community Members
 
Community Events
165
Community Groups

Render Html page resoureces(image,js,css,cdn) in confluence Html include Macro.

I have a HTML page in apache with resources & goes like  (http://IP/EnvMgmt/Dash.html).

The HTML code includes

<link rel="stylesheet" href="bootstrap.min.js">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

Now i have used HTML include to show the HTML page via the Page URL (i.e. http://IP/EnvMgmt/Dash.html ) & it shows the HTML .

 

 

                  confPage.png

But does Render bootstrap & jqury.

Please provide solution.

1 comment

Hello,
I face the same problem, including Bootstrap via HTML Macro

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

alters the buttons on the Confluence pages, which makes it hardly usable. 

I found Limiting scope of JavaScript source, could that be a solution, I haven't got it to work yet :(.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

848 views 10 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you