AnsweredAssumed Answered

Modal display via js override

Question asked by Marc Mestre on Jan 23, 2017
Latest reply on May 2, 2017 by chofer@morainepark.edu


Hello,

 

I'm curious if anyone has any experience with getting modals to display in Canvas. I'm looking to set up a modal to display a warning when a user navigates to specific page. I have all the logic worked out in our JS overrides, however I'm having trouble actually getting Canvas to display the modal on page load. It seems there is some built in modal functionality based on the style guide but it looks like that is set up for content editor pages (or I'm missing something).

 

Has anyone managed to set up basic modal functionality in Canvas with just overrides? If so, how did you do it?

Outcomes