It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

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