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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Graph Slideshow

I have created a number of graphs in Confluence and would like to show them one at a time in an automatic slideshow on a wall monitor. Is this possible to do with standard Confluence macros?

1 answer

I tried to create a slideshow of three Confluence pages each containing a graph by adding the below to a HTML macro on a separate page. The slideshow works and loops the pages in the div but only the first page shows its graph. The other two pages shows without their graphs. Is there a way to fix this?

<style>
.mySlides {display:none;}
</style>

<div style="border: 1px solid rgb(0, 0, 0); overflow: hidden; margin: 15px auto; max-width: 2000px;">
<iframe class="mySlides" scrolling="no" src=" https://confluence.org.mydomain.com/display/mypage1" style="border: 0px none;
margin-left: -100px; height: 760px; margin-top: -145px; width: 1500px;"></iframe>
<iframe class="mySlides" scrolling="no" src=" https://confluence.org.mydomain.com/display/mypage2" style="border: 0px none;
margin-left: -100px; height: 760px; margin-top: -145px; width: 1500px;"></iframe>
<iframe class="mySlides" scrolling="no" src="https://confluence.org.mydomain.com/display/mypage3" style="border: 0px none;
margin-left: -100px; height: 760px; margin-top: -145px; width: 1500px;"></iframe>
</div>

<script>
var myIndex = 0;
carousel();

function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 2000);
}
</script>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

463 views 24 9
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