Skip to content

Commit 87acf1e

Browse files
committed
bam
1 parent e24520e commit 87acf1e

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎v3/css/opt-frontend.css‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ button.surveyBtn {
103103

104104
.togetherjsBtn {
105105
color: #b80000;
106-
font-size: 11pt;
107-
padding: 5px;
108-
margin-top: 6px;
106+
font-size: 10pt;
107+
padding: 4px;
108+
margin-top: 3px;
109109
}
110110

111111
#syncBtn {
@@ -114,7 +114,6 @@ button.surveyBtn {
114114
}
115115

116116
#experimentalHeader {
117-
margin-bottom: 10px;
118117
}
119118

120119
#surveyHeader {

‎v3/js/opt-frontend-common.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ function initTogetherJS() {
545545
console.log("TogetherJS ready");
546546

547547
$("#sharedSessionDisplayDiv").show();
548+
$("#adInfo").hide();
548549
$("#ssDiv").hide();
549550
$("#adHeader").hide();
550551

@@ -576,6 +577,7 @@ function initTogetherJS() {
576577

577578
$("#togetherjsStatus").html(''); // clear it
578579
$("#sharedSessionDisplayDiv").hide();
580+
$("#adInfo").show();
579581
$("#ssDiv").show();
580582
$("#adHeader").show();
581583

‎v3/js/opt-frontend.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ $(document).ready(function() {
643643
$("#getTutorBtn").click(requestTutor);
644644
*/
645645

646+
$("#hideHeaderLink").click(function() {$("#experimentalHeader").hide();});
646647

647648
// canned examples
648649
$(".exampleLink").click(function() {

‎v3/visualize.html‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,11 @@
106106
<tr>
107107
<td valign="top">
108108

109-
<div style="font-size: 8pt; width: 180px; margin-bottom: 8px;">
109+
<div id="adInfo" style="font-size: 8pt; width: 180px; margin-bottom: 10px;">
110110

111+
<a href="#" id="hideHeaderLink">Hide banner ad</a>
112+
113+
<br/><br/>
111114
Online Python Tutor is free and <a
112115
href="https://github.com/pgbovine/OnlinePythonTutor/">open-source</a>
113116
software. Ads pay for web hosting costs.

0 commit comments

Comments
 (0)