- You may decide to have an eLearning course and a SmartPhone course.
- A nice feature is to have your SmartPhone learner who navigates to your eLearning courses automatically bounced to the SmartPhone version of the course.
- To bounce the SmartPhone learner, add the following code to the inside of the <head>...</head> region of your eLearning course's main page.
isMobile = window.matchMedia('(max-device-width: 960px)').matches;
isMobile = screen.width <= 960;
location.href="/mobile/index.htm"; // **** Change URL here *****