From b49bf7dbda15ef11ecabd09cff764a0a0dd2243e Mon Sep 17 00:00:00 2001 From: Fay Cross Date: Fri, 16 Nov 2012 16:03:01 +0000 Subject: [PATCH] HTML5 - New transcriptReader page git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@509 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641 --- .../Nottingham/common_html5/js/xenith.js | 2 +- .../models_html5/transcriptReader.html | 127 ++++++++++++++++++ .../Nottingham/models_html5/videoSynch.html | 2 +- 3 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 modules/xerte/parent_templates/Nottingham/models_html5/transcriptReader.html diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js index ef355665b4..a3f123bea6 100644 --- a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js +++ b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js @@ -780,7 +780,7 @@ function x_updateCss(updatePage) { if (updatePage == true) { // calls function in current page model which does anything needed on size change if (x_pageInfo[x_currentPage].type == "text") { - simpleText.sizeChanged(); // errors if you just call text.pageChanged() + simpleText.sizeChanged(); // errors if you just call text.sizeChanged() } else { eval(x_pageInfo[x_currentPage].type).sizeChanged(); } diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/transcriptReader.html b/modules/xerte/parent_templates/Nottingham/models_html5/transcriptReader.html new file mode 100644 index 0000000000..a5c7338bc3 --- /dev/null +++ b/modules/xerte/parent_templates/Nottingham/models_html5/transcriptReader.html @@ -0,0 +1,127 @@ + + + + +
+ +
+ +
+ +
+ +
+
+
+
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/videoSynch.html b/modules/xerte/parent_templates/Nottingham/models_html5/videoSynch.html index fd7a0f543d..9cd9684aad 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/videoSynch.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/videoSynch.html @@ -74,7 +74,7 @@ var $infoHolder = $("#infoHolder"); var captions = new Array(); $(x_currentPageXML).children().each(function(){ - var $caption = $("
" + $(this).attr("text") + "
") + var $caption = $("
" + x_addLineBreaks($(this).attr("text")) + "
") .hide() .data("synch", $(this).attr("synch"));