Forum Discussion
TraceSymonds-c3
6 years agoCommunity Member
Determining the browser being used to view course and display a message based upon that determination
Hello my friends,
I have a question that I've never had to think about but we have issues with people using our corporate install of IE11 with certain functions within our courses built in SL360. ...
epiclarkis
6 years agoCommunity Member
Just a quick alternative, and I believe a much simpler way to add the Javascript code. Add a trigger on your first slide to execute the below Javascript code when timeline starts. I tried it and it worked.
var isIE;
(function() {
var ua = window.navigator.userAgent,
msie = ua.indexOf('MSIE '),
trident = ua.indexOf('Trident/');
isIE = (msie > -1 || trident > -1) ? true : false;
})();
if (isIE) {
alert("This course is best viewed on Google Chrome");
}
Cheers,
Johnrey
Related Content
- 8 months ago