SAP Custom API - LSOHideFooter
March 28, 2007 12:00 AM
We have created a SCORM-based course in Lectora 2006 and are in the process of implementing it in an SAP LMS. The course has its own navigation buttons so, we wish to suppress the basic footer that the SAP LMS displays by default. SAP Tech Note # 805425 provides a series of custom API Functions that you can add to a SCORM compliant page that among other functions, lets you apply unique attributes to a displayed page. The one I wish to implement is LSOHideFooter which allows you to collapse the standard SAP Navigation bar which contains LMS generated next, previous, logout buttons, etc.Does anyone know how to implement new/custom API function calls in Lectora? The sketchy notes provided by SAP indicates the following:The functions are called using the same application programming interface(API) as the SCORM API. Information on how to find this API is available insection 3.3.6.1 (Find API) of the SCORM document SCORM 1.2 Runtime Environment.If you created the SCORM API "myAPI," you can navigate to the next SCO with the call:myAPI.LSONavigateForward().I am not sure if code should be added as external HTML in the Lectora title, if the APIWarapper11.js file should be modifed (and how) or what.Anyone that could offer some help with this would be greatly appreciated.Some help was suggested to me recently...Another person had managed to remove the SAP footer by inserting the following JavaScript at the end of thier HTML page, just before the closing BODY tag. My question is: If they are using g_objAPI.LSOHideFooter, to call the command, what would be the equivalent to call the API in Lectora? Looging at the SCORM Warpper file, I would guess "api.LSOHideFooter" Does it matter if API is caps or not?Edited By: Rainman on 2007-4-9 13:22:38
Discussions have been disabled for this post