The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I would like to link from one Canvas course to content on another course. Problem is, I don't want to link to a page, I want to link to content within a page, specifically content within an accordion.
I have tried making an anchor point in the HTML and then pointing to that anchor. This works for content NOT in accordions, but I have not had any success for content within accordions.
Any suggestions gratefully received!
Thank you
Solved! Go to Solution.
Hi @EmmaChapman ...
So after consulting with another Canvas Coach, it seems like your school must be doing some different things in the global JavaScript and/or CSS for accordions that is making those display for you. This is based on some of the classes that are displayed in the code you shared above. I tried some of the code in my own sandbox course, and it didn't display like you've shown. You'd probably want to have a discussion with your school's Canvas admin or someone from their Online Learning / eLearning / Distance Education department about how they are getting that to work for your Canvas environment.
Ok, thanks @Chris_Hofer - I have come full circle as they don't have a solution. So I'll have to figure out another way! Thanks for your help anyway.
Hi @EmmaChapman
What you are attempting to do is not feasible. The students in Course A will only be able to access the content in Course B if they are enrolled in Course B. I know that as the instructor of both courses, you may be able to create and see some links, but your students are going to hit a roadblock. Just go into your Student View, and you'll see what I mean.
The best remedy is to copy or import the Course B materials into Course A. Don't waste more time on "work arounds."
Another possibility is to have the material available on an external website, and create links to it for the students in both Course A and Course B.
Hi @SusanNiemeyer - all students in course A are enrolled in course B. thanks.
@EmmaChapman ...
I agree with @SusanNiemeyer that, generally speaking, linking from one course to another is not ideal. However, thank you for also sharing that you have the same set of students in both courses. So, that shouldn't be a problem for your situation. However, just keep in mind that if you copy (import) course content from these courses into future courses and you no longer have the same set of students in both courses, you're going to have to go through any of your content pages to make sure your links have been corrected. Or, if you have other instructors who will be using your content down the road and they do not have the same set of students in each course, this would also be an issue. Just throwing out some potential issues that could arise at this point.
Regarding the accordions... I'm not sure exactly what your course pages look like (and maybe a screenshot or two from you would be useful here), but if you had been using HTML code at one time to design those accordions, I don't think those work any longer...because Instructure had disabled JQuery to make those function. So, people had to come up with other ways to get it to work...as described here:
Solved: Accordion Script Help - Instructure Community (canvaslms.com)
However, if your school has paid for the Cidi Labs / Design Tools product, for example, then you would still be able to design accordion layouts in your course. Maybe you have this? Again, I am not sure what your content looks like, so it's hard to know for sure.
Looking forward to hearing more from you on this...thanks!
Thank you for your comments. It's not a usual situation. I should mention, everyone at our university is enrolled in course B.
I will show some screen shots.
First, this is what the accordions look like to a student, with a top level accordion (Academic Integrity - ethical information use) expanded, and a second-level accordion (What is academic integrity?) also expanded:
Now, here is the code behind these accordions:
Hi @EmmaChapman ...
So after consulting with another Canvas Coach, it seems like your school must be doing some different things in the global JavaScript and/or CSS for accordions that is making those display for you. This is based on some of the classes that are displayed in the code you shared above. I tried some of the code in my own sandbox course, and it didn't display like you've shown. You'd probably want to have a discussion with your school's Canvas admin or someone from their Online Learning / eLearning / Distance Education department about how they are getting that to work for your Canvas environment.
Ok, thanks @Chris_Hofer - I have come full circle as they don't have a solution. So I'll have to figure out another way! Thanks for your help anyway.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in