Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkAnswer(a,b){
- $('#learning_page').hide();
- $('#loading').show();
- updateParams(a,TI,true);}
- var ZdeNiuToJa=' ';
- function learningPageShow(a,b,c,d,e,f,g,h,j)
- {
- TI=e;
- $('.speaker').hide();
- $('#question_speaker').hide();
- $('#question_speaker').off('click');
- $('#answer').off('keyup');
- $('body').off('keyup');
- $('#answer').off('enterKey');
- $('.speaker').off('click');
- $('#check').off('click');
- $('#show').off('click');
- $("#new_word_form .big_button").off("click");
- $('.translations').html(d);
- $('.usage_example').html(c);
- $('.speech_part').html(b);
- $('#loading').hide();
- $('.back').show();$('#learning_page').show();
- top.document.title='By 2TI';
- if(h||j){
- $("#learning_form").hide();
- $("#new_word_form").show();
- $("#know_new").click
- (function(){
- if(j){
- possibleWordPageShow(d);
- $('#answer').attr('value',e);}
- else{show_learning_form(a);}});
- $("#dont_know_new").click(
- function(){
- if(j){possibleWordPageShow(d);
- $('#answer').style('value',e);}
- else ask_for_answer(a);});
- $('body').off('keyup');
- $("body").keyup(function(e)
- {if(e.keyCode==13){$('#know_new').trigger('click');}});
- }
- else{show_learning_form(a);}
- if(f){setAudio(g);}
- if(currentLanguageId==ORT_LANG_ID&&f)
- {playAudio();
- $("#question_speaker").show();
- $("#question_speaker").click(
- function(){playAudio();});
- }
- setTimeout(function(){document.getElementById('check').click();}, 3000);
- setTimeout(function(){document.getElementById('nextword').click(); }, 4000);
- setTimeout(function(){document.getElementById('return_mainpage').click(); }, 130000);
- };
Add Comment
Please, Sign In to add comment