From 7e5be7745c7ea5faf694a7d6275f584dec426bfe Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 3 Mar 2012 16:16:19 -0500 Subject: [PATCH] Hiding header while testing --- scripts/main.js | 3 +++ style.css | 5 +++++ test.html | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/main.js b/scripts/main.js index b7fb8ec..c6cd63f 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -34,9 +34,12 @@ $( document ).ready( function() $( this ).parent().hide(); hideNotice(); + $( 'body' ).addClass( 'testing' ); runner.run( testcase, options, function( history ) { + $( 'body' ).removeClass( 'testing' ); + console.log( history ); console.log( 'done' ); } ); diff --git a/style.css b/style.css index 0914f31..ab7c72f 100644 --- a/style.css +++ b/style.css @@ -24,6 +24,11 @@ dd { display: block; } +/* display idle elements only until testing */ +.testing .while-idle { + display: none; +} + .topbox { position: absolute; diff --git a/test.html b/test.html index 630a7c6..ee3cfa2 100644 --- a/test.html +++ b/test.html @@ -5,7 +5,7 @@ -

Recollection Test

+

Recollection Test