Actions fail after Being Published to HTML.

Here is the code that the scorm package is adding;


 





 

trivWeb20Popups = true;


 

var bInitSCORM = loadPage()

var startDate = readVariable( 'TrivantisSCORMTimer', 0 )

 

AICC_Lesson_Location = new Variable( 'AICC_Lesson_Location', '', 0, 0, 'scorm', null, 'information_systems_security_iss_brief' )


 

if( bInitSCORM )

{

var oldLoc = AICC_Lesson_Location.getValue()

if( oldLoc != '' &&

oldLoc.indexOf( '.' ) > 0 &&

oldLoc != 'a001_introduction_what_is_iss.html' &&

oldLoc != 'a001index.html' )

{

var mbconf = new jsDlgMsgBox( '150', 'Information Systems Security (ISS) Brief', 'You have previously been in this lesson.nWould you like to return to the last visited location in the lesson?', MB_OKCAN, function(e,rtn){ if(rtn==IDOK){ saveVariable( 'TrivantisEPS', 'T'); ObjLayerActionGoTo( oldLoc ); } init12(); } );

mbconf.create();

return;

}

}

 

init12();

}

}

 

function init12() {

if( window.name.indexOf( 'Trivantis_' ) == -1 )

AICC_Lesson_Location.set( 'a001_introduction_what_is_iss.html' )


unloadPage(1)


saveVariable( 'TrivantisEPS', 'T')


function action112(fn){

{saveVariable( 'TrivantisEPS', 'T'); if(cleanupTitle('information_systems_security_iss_brief')) doQuit(1); else CloseWnd();}

if(fn) eval(fn);

 

(RATHER THAN)

function action112(fn){

{cleanupTitle('information_systems_security_iss_brief'); trivExitPage('ObjLayerActionExit()',false);}

if(fn) eval(fn);

 

I will upload the pages to my profile labled HTML and Scorm so you can see placement.

 

 

Discussions have been disabled for this post