How to create a button displaying content from a different page below button?

Jump to solution
dgillis
Community Member

My university has a course template that allows professors to do this. I asked for the template, but the coding did not translate to my system. Here are pictures of what I am trying to accomplish.

As you can see, the content below the button changes when the different week is clicked on. I have already found code to display another page on a canvas page, but it is not connected to a button, nor does it only show one piece of the modules page. 

Here is the code I found: 

<iframe src="Desired URL" width="98%" height="600"></iframe>
Labels (1)
0 Likes
1 Solution
floresr
Community Champion

Sounds like you want to make a carousel. Take a look at this tutorial. Someone here created it but I'm not sure who to credit as the original source. I turned it into a handout. It is a tutorial for making a carousel that loads a different video when you click a button. You should be able to replace the video content with any other type of media content. 

I hope this helps.

 

View solution in original post

0 Likes