Changeset 551 in tmcsimulator for trunk/webapps/einotebook/scripts/Event.js
- Timestamp:
- 12/26/2019 03:14:52 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/webapps/einotebook/scripts/Event.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
