Hiding header while testing
parent
1e87ec531e
commit
7e5be7745c
|
@ -34,9 +34,12 @@ $( document ).ready( function()
|
||||||
|
|
||||||
$( this ).parent().hide();
|
$( this ).parent().hide();
|
||||||
hideNotice();
|
hideNotice();
|
||||||
|
$( 'body' ).addClass( 'testing' );
|
||||||
|
|
||||||
runner.run( testcase, options, function( history )
|
runner.run( testcase, options, function( history )
|
||||||
{
|
{
|
||||||
|
$( 'body' ).removeClass( 'testing' );
|
||||||
|
|
||||||
console.log( history );
|
console.log( history );
|
||||||
console.log( 'done' );
|
console.log( 'done' );
|
||||||
} );
|
} );
|
||||||
|
|
|
@ -24,6 +24,11 @@ dd {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* display idle elements only until testing */
|
||||||
|
.testing .while-idle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.topbox {
|
.topbox {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="style.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Recollection Test</h1>
|
<h1 class="while-idle">Recollection Test</h1>
|
||||||
<noscript>
|
<noscript>
|
||||||
<p>It appears that you have JavaScript disabled. Please consult your
|
<p>It appears that you have JavaScript disabled. Please consult your
|
||||||
browser's documentation to enable it before continuing. Don't worry - it
|
browser's documentation to enable it before continuing. Don't worry - it
|
||||||
|
|
Loading…
Reference in New Issue