Changeset 401 in tmcsimulator for trunk/webapps/einotebook
- Timestamp:
- 05/15/2019 06:07:22 AM (7 years ago)
- Location:
- trunk/webapps/einotebook
- Files:
-
- 4 edited
-
index.html (modified) (1 diff)
-
maps/index.html (modified) (2 diffs)
-
notebook.css (modified) (3 diffs)
-
script/script.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/einotebook/index.html
r393 r401 62 62 </tr> 63 63 --> 64 <tr style="height: 120px">64 <tr style="height: 80px"> 65 65 <td colspan='3' class="tabMenu"> 66 66 -
trunk/webapps/einotebook/maps/index.html
r386 r401 31 31 32 32 <!-- The Map --> 33 <div id="googleMapContent" style="display:none;">34 <iframe src="https://www.google.com/maps/d/embed?mid=11RLV4iMbnXW7HlZCATvTa9z1Y01gngzR&z oom=9" width="640" height="480"></iframe>33 <div id="googleMapContent"> 34 <iframe src="https://www.google.com/maps/d/embed?mid=11RLV4iMbnXW7HlZCATvTa9z1Y01gngzR&z=10" width="640" height="480"></iframe> 35 35 <div> 36 36 <!-- … … 38 38 scrolling=no src="https://drive.google.com/open?id=11RLV4iMbnXW7HlZCATvTa9z1Y01gngzR&usp=sharing" marginheight=0 marginwidth=0></iframe> --> 39 39 40 <div id="atmsMapContent" style="display:inline;"><iframe frameborder=0 width=740 height=60040 <div id="atmsMapContent"><iframe frameborder=0 width="740" height="600" 41 41 scrolling=no src="../../cptms/index.html" marginheight=0 marginwidth=0></iframe></div> 42 <!-- <div id="atmsMapContent" style="display:inline;"><iframe frameborder=0 width=740 height=600 43 scrolling=no src="../../cptms.html" marginheight=0 marginwidth=0></iframe></div> 44 --> 42 45 43 </center> 46 44 </body> -
trunk/webapps/einotebook/notebook.css
r399 r401 7 7 body 8 8 { 9 margin:0px;9 margin:0px; 10 10 font-family: Verdana, sans-serif; 11 11 background-color:#FFFFFF; … … 86 86 margin-bottom: 2px; 87 87 padding-right: 16px; 88 /* Fix #152 attempt 89 resize: both; 90 overflow: auto; */ 88 91 /*width: 30%;*/ 89 92 /* width: 30%; */ … … 170 173 border: 1px solid #66CC66; 171 174 border-top: 0px; 172 height: 90%;175 height:100%; 173 176 padding:0px; 174 177 margin:0px; -
trunk/webapps/einotebook/script/script.js
r359 r401 51 51 52 52 // IF there was previously a current event THEN 53 if (highlightLatestEvent.oldEvent.id != Event.invalidID )53 if (highlightLatestEvent.oldEvent.id != Event.invalidID && currentEvent.id != 0) 54 54 { 55 55 highlightLatestEvent.oldEvent.unhighlight(); … … 64 64 } 65 65 66 67 /** Change color of text of expired events so they appear disabled. 68 * @param events The list of events 69 * @param currEvent The current event 70 */ 71 function greyOldEvents(events, currEvent) 72 { 73 // Examine all events 74 for (var evtNum = 0; evtNum < events.length; evtNum++) 75 { 76 // Change color of those before current time and Event 77 if (events[evtNum].time.compareTo(currEvent.time) < 0 && currEvent.id != events[evtNum].id) 78 { 79 events[evtNum].unhighlight(); 80 } 81 } 82 } 83 66 84 /** 67 85 * Loads the the script tab for the given document. … … 83 101 // add the Event's html 84 102 html += Script.events[i].html(); 85 //console.log(Script.events[i].html()); 86 } 103 } 104 87 105 88 106 // display events in iframe … … 97 115 Script.events.win.scrollTo(0, readCookie('scriptScrollY')); 98 116 117 greyOldEvents(Script.events, Script.events.getLastExecutedEvent(readCookie("time"))); 99 118 highlightLatestEvent(); 100 119
Note: See TracChangeset
for help on using the changeset viewer.
