In the previous chapter, Chapter 14: Known Issues, we detailed that how using the browser's menus and tools can impact Digital Teacher web-based lessons.
By presenting the Digital Teacher lesson page in full screen, we can prevent the student from using the browser elements such as menus, tools, and bars. Using full-screen mode also allows students to view lessons with fewer distractions, letting them concentrate on the lesson.
When we present a lesson in full-screen mode, the lesson page loads in a new window and fills up the entire screen, leaving only a scroll bar. All other elements of Browser, such as title bar, menu bar, address bar, buttons, status bar dissapear.
To see a demonstration, click the link at the end of this topic
Important: Once you are in full screen, there are no browser menus and buttons available to close the window or to return you to the current page. Also, the ALT-LEFT ARROW key will not bring you back to the previous page since you are in a new window. To close the full-screen window, you must either
Tip: If you need to switch tasks inside from the "full screen" page, press ALT-TAB.
Demonstration presented in full screen
Assuming that you have a student login page (Chapter 6: Deploying Web Lessons) from which your students access your Digital Teacher web lesson pages,
var objNewWin = null; // Global variable to check if a sub window is already open.
function fullScreen(theURL) {
if ((objNewWin != null) && (!objNewWin.closed)) {
// If the new window is current open, warn the student.
alert('That sub window is currently open. You must close it first.');
}
else {
objNewWin = window.open(theURL, '', 'fullscreen=yes,scrollbars=auto');
}
}
<a href="javascript:void(0);"
onClick="fullScreen('a_Login_page.htm');">
Student Login in full screen</a>
<A href="javascript://" onClick="self.close()">Close this window</A>
You might also want to prevent the student from using the popup menu on the browser window.
To see how it works,
Copyright 2001-2002 Francis Software, Sunnyvale, California