A SCORM-ready template: Part 3 - Settings
May 12, 2007
Tutorials | Elearning | SCORM | Web Building



Other configuration variables: chapterArray, docTitle and headerTitle


Ads by Google

Posted by ellen at May 12, 2007 07:01 PM


In the same file as the pageArray, you will find several other variables: chapterArray, docTitle, and headerTitle.

The chapterArray can be filled out with chapter titles if desired. This is optional - the chapter and page titles can both be hidden if not needed.

The docTitle and headerTitle are required. The docTitle is the title that shows up at the top of every window -in other words the <title> tag on each page. The headerTitle is the title which shows up in the blue header at the top of each page.


Chapter and Page Titles

If you want, you may have Chapter titles and Page titles show up automatically on every page, or on only the pages you choose.




  1. You must fill in the Chapter titles in /js-local/pageArray.js

    Look for:


    var chapterArray

    and add the chapter titles.

    Add chapters as necessary, observing the usual caution about the punctuation at the end of the array.


    Click to enlarge image


  2. How it works
    Once the titles are filled in, when the page is loaded, the module looks for a div with the id "subTitleBar". If it finds this on the page, it populates it with the chapter and page titles you entered into the arrays, and styles them per the CSS style sheets.

  3. To remove this functionality from any page, delete the line highlighted in yellow, shown below. Be very careful not to remove the lines above or below it.


    Click to enlarge image





Ads by Google


Ads by Google

 RSS   |   Contact Me


Ads by Google