Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

494 views 18 17
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