|
|
@@ -737,10 +737,8 @@ var RemoveSESpaceWhite = function (item) {
|
|
|
$(item).text(HtmlStr);
|
|
|
};
|
|
|
// 将句型换色
|
|
|
-var dealWordStyleFunc = function (NodeHandle) {
|
|
|
- $.each($(".phraseStyle").find(".wordStyle"), function () {
|
|
|
- $(this).css("color", "#f2db8b");
|
|
|
- });
|
|
|
+var dealWordStyleFunc = function () {
|
|
|
+ $(".phraseStyle").find(".wordStyle").css("color", "#f2db8b");
|
|
|
};
|
|
|
// 处理显示或隐藏答案,(shcode是否可点击1可点击;ulflag判断是否存在横线内1表示在;showflag是否显示1显示)
|
|
|
var dealAnswerFunc = function (NodeHandle, OCFlag, ThProFlag) {
|
|
|
@@ -1008,6 +1006,7 @@ function showHideAnswerEx(isShowYX, isShowAS) {
|
|
|
|
|
|
//页面加载完,原文 绑定事件(sWidthVal:屏幕宽度,isAStatus是否含有作答0表示没有,isMAStatus判断是否是主体课文1表示是)
|
|
|
function bindEventTeaOrignalYS(sWidthVal, isAStatus, isMAStatus) {
|
|
|
+ $(document.body).append('<div id="ShowStr" style="position:fixed;top:100px;left:10px;width:200px;height:100px;background-color:yellow;color:#000;" onclick="dealWordStyleFunc()">按钮</div>');
|
|
|
IsZTKEStatus = (isMAStatus == "undefined" || isMAStatus == undefined || isMAStatus == null) ? 0 : parseInt(isMAStatus);
|
|
|
var bodyWidth = $(document.body).width();
|
|
|
//处理答题点
|
|
|
@@ -1158,6 +1157,7 @@ function bindEventTeaOrignalYS(sWidthVal, isAStatus, isMAStatus) {
|
|
|
|
|
|
//页面加载完,课件 绑定事件(sWidthVal:屏幕宽度,isAStatus是否含有作答0表示没有,isMAStatus判断是否是主体课文1表示是)
|
|
|
function bindEventYS(sWidthVal, isAStatus, isMAStatus) {
|
|
|
+ $(document.body).append('<div id="ShowStr" style="position:fixed;top:100px;left:10px;width:200px;height:100px;background-color:yellow;color:#000;" onclick="dealWordStyleFunc()">按钮</div>');
|
|
|
IsZTKEStatus = (isMAStatus == "undefined" || isMAStatus == undefined || isMAStatus == null) ? 0 : parseInt(isMAStatus);
|
|
|
var bodyWidth = $(document.body).width();
|
|
|
//不存在underline 属性下有内容,所以全部隐藏,若有就是源头数据有问题
|