LM-Light: A New E-Learning Standard
About LM-Light Courses Learning Management Systems More Info


The LM-Light Standard
 - Course Structure
 - LM-Light Tags
 - Starting a Course
 - On Each Page
 - Exiting a Course
 - Starting a Test
 - Saving a Test Score
 - Course Completion
 - Configuration File

Course Development
 - Development Environment
 - Using a Text Editor
 - Including Tests
 - Using PowerPoint
    - Option 1 - PDF
    - Option 2 - GIF/JPG
    - Option 3 - HTML
 - Using Lectora
 - Download Tools
 - Diagnosing Problems

Home Page

LM-Light Standard : Creating Courses : Exiting a Course

The course has the responsibility for closing the course window. Usually, this would be achieved by something like a JavaScript window.close() command. Or you could simply ask the user to click on the 'X' in the top of the window. The way that you exit a course is not part of the LM-Light standard.

Note: Telling the LMS that the course is complete is optional. For more details, see [this page].


This is a simple example where the student can close the course by clicking on a link that uses a JavaScript 'window.close()' action.

<?php require "LM-Light.php"; ?>
  <title>Page 3</title>
<body bgcolor="#ffffff">

<p><a href="2.html">Go Back to Page 2</a>
<p>Click [<a href="javascript:top.window.close();">here</a>]
to exit the course.



Copyright & Licensing Information
Unless otherwise stated, material in this website is Copyright, Addison Robson LLC. Use of the website content for commercial and non-commercial purposes is permitted under Creative Commons licenses. For more information, please consult [this page] or use [this form] to contact us.
Creative Commons License