Index: lams_admin/web/WEB-INF/tags/Page.tag =================================================================== diff -u -r5660949c6c27cabcb931fa4df1470642b0aaa4e0 -r1ab316c8f51d340b2e702dea7c3e55f76df61126 --- lams_admin/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 5660949c6c27cabcb931fa4df1470642b0aaa4e0) +++ lams_admin/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 1ab316c8f51d340b2e702dea7c3e55f76df61126) @@ -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
  • -