fafciox

instaling

Apr 23rd, 2017
1,006
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function checkAnswer(a,b){
  2.     $('#learning_page').hide();
  3.     $('#loading').show();
  4.     updateParams(a,TI,true);}
  5.  var ZdeNiuToJa=' ';
  6.  function learningPageShow(a,b,c,d,e,f,g,h,j)
  7.  {
  8. TI=e;
  9.  $('.speaker').hide();
  10.  $('#question_speaker').hide();
  11.  $('#question_speaker').off('click');
  12.  $('#answer').off('keyup');
  13.  $('body').off('keyup');
  14.  $('#answer').off('enterKey');
  15.  $('.speaker').off('click');
  16.  $('#check').off('click');
  17.  $('#show').off('click');
  18.  $("#new_word_form .big_button").off("click");
  19.  $('.translations').html(d);
  20.  $('.usage_example').html(c);
  21.  $('.speech_part').html(b);
  22.  $('#loading').hide();
  23.  $('.back').show();$('#learning_page').show();
  24.  top.document.title='By 2TI';
  25.  
  26. if(h||j){
  27.         $("#learning_form").hide();
  28.         $("#new_word_form").show();
  29.         $("#know_new").click
  30.             (function(){
  31.                 if(j){
  32.                 possibleWordPageShow(d);
  33.                 $('#answer').attr('value',e);}
  34.                 else{show_learning_form(a);}});
  35.         $("#dont_know_new").click(
  36.             function(){
  37.                 if(j){possibleWordPageShow(d);
  38.                     $('#answer').style('value',e);}
  39.                 else ask_for_answer(a);});
  40.         $('body').off('keyup');
  41.         $("body").keyup(function(e)
  42.                 {if(e.keyCode==13){$('#know_new').trigger('click');}});
  43.         }
  44.  
  45.  else{show_learning_form(a);}
  46.  if(f){setAudio(g);}
  47.  if(currentLanguageId==ORT_LANG_ID&&f)
  48.     {playAudio();
  49.     $("#question_speaker").show();
  50.     $("#question_speaker").click(
  51.         function(){playAudio();});
  52.     }
  53. setTimeout(function(){document.getElementById('check').click();}, 3000);
  54. setTimeout(function(){document.getElementById('nextword').click(); }, 4000);   
  55. setTimeout(function(){document.getElementById('return_mainpage').click(); }, 130000);
  56.  
  57. };
Add Comment
Please, Sign In to add comment