File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3535 }
3636 # hi_text {
3737 margin : 0px ;
38+ top : 5px ;
39+ position : relative;
3840 }
3941 button {
4042 position : absolute;
231233 < p > Load code:< br /> </ p >
232234 < input type ="text " id ="sa_loadt "> </ input >
233235 < button id ="sa_loadb "> Load</ button >
234- < p id ="sa_text "> Success </ p >
236+ < p id ="sa_text "> </ p >
235237 </ div >
236238 < script >
237239 //////////////////////////////////////////////////////////////////////////////////////////////INIT VARS
579581 var code = document . getElementById ( "sa_loadt" ) . value ;
580582 for ( var iter = 0 ; iter < 7 ; iter ++ ) {
581583 m_save += code . charAt ( iter ) ;
582- console . log ( code . charAt ( iter ) + " " + iter . toString ( ) ) ;
583584 }
584585 for ( var iter = 7 ; iter < 14 ; iter ++ ) {
585586 g_save += code . charAt ( iter ) ;
586- console . log ( code . charAt ( iter ) + " " + iter . toString ( ) ) ;
587587 }
588588 var m_hash = code . charAt ( 14 ) + code . charAt ( 15 ) ;
589589 var g_hash = code . charAt ( 16 ) + code . charAt ( 17 ) ;
590- console . log ( m_hash + " " + g_hash + "<- code says" ) ;
591590 var m_ahash = 0 ;
592591 var g_ahash = 0 ;
593592 for ( var iter = 0 ; iter < 7 ; iter ++ ) {
602601 if ( parseInt ( g_ahash ) < 10 ) {
603602 g_ahash = "0" + g_ahash ;
604603 }
605- console . log ( m_ahash + " " + g_ahash + "<- actual calc" ) ;
606604 if ( ( m_hash == m_ahash ) && ( g_hash == g_ahash ) ) {
607605 document . getElementById ( "sa_text" ) . innerHTML = "Success"
608606 m = parseInt ( m_save ) ;
You can’t perform that action at this time.
0 commit comments