Index: lams_admin/web/WEB-INF/tags/Page.tag =================================================================== RCS file: /usr/local/cvsroot/lams_admin/web/WEB-INF/tags/Attic/Page.tag,v diff -u -r1.1.2.3 -r1.1.2.4 --- lams_admin/web/WEB-INF/tags/Page.tag 29 Jul 2016 00:01:24 -0000 1.1.2.3 +++ lams_admin/web/WEB-INF/tags/Page.tag 29 Jul 2016 04:03:59 -0000 1.1.2.4 @@ -38,9 +38,8 @@ - <%-- only have sidebar and presence in learner --%> - - + <%-- only have sidebar and presence in learner main window, not in popup windows --%> + <%-- Links placed in body instead of head. Ugly, but it works. --%> @@ -66,7 +65,7 @@ - + @@ -123,6 +122,8 @@ function onProgressBarLoaded() { $('#exitlabel').html(LABELS.EXIT); $('#notebooklabel').html(LABELS.NOTEBOOK); + $('#supportlabel').html(LABELS.SUPPORT_ACTIVITIES); + $('#progresslabel').html(LABELS.PROGRESS_BAR); if ( allowRestart ) { $('#restartlabel').html(LABELS.RESTART); restartLessonConfirmation = LABELS.CONFIRM_RESTART; @@ -133,7 +134,7 @@ $(document).ready(function() { var showControlBar = true; var showIM = true; - if ( window.frameElement ) { + if ( window.frameElement ) { // parallel var myId = window.frameElement.id; if ( myId ) { if ( myId == 'lamsDynamicFrame0' ) { @@ -142,6 +143,9 @@ showControlBar = false; } } + } else { // test for popup window + debugger; + showControlBar = ( window.name.match("LearnerActivity") == null ); } if ( lessonId != "" || toolSessionId != "" ) { @@ -162,6 +166,7 @@ allowRestart = result.allowRestart; $('.lessonName').html(result.title); fillProgressBar('learnerMainBar'); + $('#navcontent').addClass('navcontent'); $('#sidebar').show(); } @@ -203,23 +208,21 @@

<%=request.getAttribute(org.apache.struts.taglib.html.Constants.BEAN_KEY)%>

  • Exit
  • Notebook
  • - -
  • - +
  • +
  • + My Progress
  • -