File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ button.surveyBtn {
103103
104104. togetherjsBtn {
105105 color : # b80000;
106- font-size : 11 pt ;
107- padding : 5 px ;
108- margin-top : 6 px ;
106+ font-size : 10 pt ;
107+ padding : 4 px ;
108+ margin-top : 3 px ;
109109}
110110
111111# syncBtn {
@@ -114,7 +114,6 @@ button.surveyBtn {
114114}
115115
116116# experimentalHeader {
117- margin-bottom : 10px ;
118117}
119118
120119# surveyHeader {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( ) {
Original file line number Diff line number Diff line change 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 />
111114Online Python Tutor is free and < a
112115href ="https://github.com/pgbovine/OnlinePythonTutor/ "> open-source</ a >
113116software. Ads pay for web hosting costs.
You can’t perform that action at this time.
0 commit comments