Reputation: 23
I need to embed a page from a Learning Management System (LMS) within another page within the same LMS, I can achieve that, BUT as soon as you click a link from that page it opens within the iframe.
I can't change the links on the page that is being embedded - so I need some way to set the behavior for the links to open in the parent at the point where the iframe is added.
We have some limitations in terms of only being able to put inline CSS and HTML
if there is a viable solution but requires external CSS or Javascript I can propose it to those who have more access within the system then I do, but that would be a bit of a hail Mary on if I can get it approved (but I would certainly fight for it if that's the only option!)
If anyone has any ideas I'd really appreciate it.
I tried the following (but I wasn't really expecting it to work, just hoped)
<p><iframe src="CANVAS_LMS_DOMAIN/courses/COURSEID/modules?embedded=true" width="100%" height="900px"><head><base target="_parent"></head></iframe></p>
after saving the page the
<head><base target="_parent"></head>
The head and base were stripped out.
I also tried `
" width="100%" height="900px">`but after saving the page that was stripped back to
<p><iframe width="100%" height="900px"></iframe></p>
Upvotes: 0
Views: 38