eLBX Online 2021 | June 22 - 24


Join us for a FREE, 3-day virtual conference featuring industry experts and eLearning thought leaders. Learn about critical topics such as eLearning accessibility, learning experience design, course authoring, virtual reality, and gamification. Register today!
CHECK IT OUT

Actions fail after Being Published to HTML.

rellis09
rellis09 Community Member Posts: 14
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.

 

 
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!