AnsweredAssumed Answered

Opening LTI in new tab: Javascript?

Question asked by Haynes Chewning on Jun 8, 2016
Latest reply on Jul 11, 2016 by Kelley L. Meeusen

Hey,

 

I'm currently setting up an Ares LTI (course reserves) in Canvas and am wondering if there is a way to force it to open in a new tab instead of the frame. Apparently the tool has some links that will produce errors when accessed from a frame.

 

It's not an issue in our Blackboard LMS since we can choose how to open the LTI.  While it might be possible to set it up as an external tool in a module and check the box for 'open link in new tab,' the goal is to have it in the course navigation.

 

I was trying to tackle the issue with javascript by using $("[href*='/external_tools/92']").prop('target', '_blank');,  but it opens a new tab with the LTI loaded inside of canvas. Does anyone have any idea how to force the tool to open in a new tab?

 

Thanks!

Outcomes