Changeset 551 in tmcsimulator for trunk/webapps/einotebook/scripts
- Timestamp:
- 12/26/2019 03:14:52 PM (6 years ago)
- Location:
- trunk/webapps/einotebook/scripts
- Files:
-
- 2 edited
-
Evaluation.js (modified) (3 diffs)
-
Event.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/einotebook/scripts/Evaluation.js
r548 r551 10 10 11 11 //========== public constants ==========// 12 this.ratingQualities = ["", "Worst","Poor","Average","Good","Best"]; 12 13 this.id = Evaluation.id; 13 14 this.ratingGroupName = "evaluationGroup" + this.id; … … 75 76 76 77 this.rating = givenRating; 77 78 console.log(this.ratingGroupName + " recordRating of " + this.rating ) 78 //console.log(this.ratingGroupName + " recordRating of " + this.rating ) 79 79 } 80 80 … … 103 103 "<table align='right' class='evaluationScale'>" + 104 104 "<tr>" + 105 "<td class='eventRadioButtonSmallScale'> Best</td>" +106 "<td class='eventRadioButtonSmallScale'> Good</td>" +107 "<td class='eventRadioButtonSmallScale'> Average</td>" +108 "<td class='eventRadioButtonSmallScale'> Poor</td>" +109 "<td class='eventRadioButtonSmallScale'> Worst</td>" +105 "<td class='eventRadioButtonSmallScale'>"+this.ratingQualities[5]+"</td>" + 106 "<td class='eventRadioButtonSmallScale'>"+this.ratingQualities[4]+"</td>" + 107 "<td class='eventRadioButtonSmallScale'>"+this.ratingQualities[3]+"</td>" + 108 "<td class='eventRadioButtonSmallScale'>"+this.ratingQualities[2]+"</td>" + 109 "<td class='eventRadioButtonSmallScale'>"+this.ratingQualities[1]+"</td>" + 110 110 "</tr>" + 111 111 "<tr>" + -
trunk/webapps/einotebook/scripts/Event.js
r540 r551 178 178 function focus() 179 179 { 180 /* This method wasdiscarded because it moved the scroll bar of the parent of180 /* This next 3 lines were discarded because it moved the scroll bar of the parent of 181 181 * the given window in addition to the scroll bar of the given window.. 182 182 var positionOfPound = window.location.indexOf("#"); … … 184 184 window.location = rootLocation + "#" + eventAnchorName; 185 185 */ 186 events.win.scrollTo(0, absoluteTop(events.doc.getElementById(this.eventHeaderID)));186 events.win.scrollTo(0, absoluteTop(events.doc.getElementById(this.eventHeaderID))); 187 187 } 188 188 … … 195 195 if (events.doc.getElementById(this.eventHeaderID) != null) 196 196 { 197 events.doc.getElementById(this.eventHeaderID).style.borderColor = "blue";197 events.doc.getElementById(this.eventHeaderID).style.borderColor = "blue"; 198 198 events.doc.getElementById(this.eventHeaderID).style.backgroundColor = "yellow"; 199 199 events.doc.getElementById(this.eventHeaderID).style.color = "black";
Note: See TracChangeset
for help on using the changeset viewer.
