Advertisement
krambal

Untitled

Sep 5th, 2015
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.76 KB | None | 0 0
  1. <div id="words1">
  2.                 <?php include('display_words.php');?>
  3.                
  4.                 <br /><br /><input type="button" value="Next" onclick="hide1(), show2()" id="next1">
  5.             </div>
  6.             <div id="words2">
  7.            
  8.                 <?php include('display_words.php');?>
  9.                
  10.                 <br /><br /><input type="button" value="Next" onclick="hide2(), show3()" id="next2">
  11.             </div>
  12.             <div id="words3">
  13.            
  14.                 <?php include('display_words.php');?>
  15.                
  16.                 <br /><br /><input type="button" value="Next" onclick="hide3(), show4()" id="next3">
  17.             </div>
  18.             <div id="words4">
  19.            
  20.                 <?php include('display_words.php');?>
  21.                
  22.                 <br /><br /><input type="button" value="Next" onclick="hide4(), show5()" id="next4">
  23.             </div>
  24.             <div id="words5">
  25.            
  26.                 <?php include('display_words.php');?>
  27.                
  28.                 <br /><br /><input type="button" value="Next" onclick="hide5(), show6()" id="next5">
  29.             </div>
  30.             <div id="words6">
  31.            
  32.                 <?php include('display_words.php');?>
  33.                
  34.                 <br /><br /><input type="button" value="Next" onclick="hide6(), show7()" id="next6">
  35.             </div>
  36.             <div id="words7">
  37.            
  38.                 <?php include('display_words.php');?>
  39.                
  40.                 <br /><br /><input type="button" value="Next" onclick="hide7(), show8()" id="next7">
  41.             </div>
  42.             <div id="words8">
  43.            
  44.                 <?php include('display_words.php');?>
  45.                
  46.                 <br /><br /><input type="button" value="Next" onclick="hide8(), show9()" id="next8">
  47.             </div>
  48.             <div id="words9">
  49.            
  50.                 <?php include('display_words.php');?>
  51.                
  52.                 <br /><br /><input type="button" value="Next" onclick="hide9(), show10()" id="next9">
  53.             </div>
  54.             <div id="words10">
  55.            
  56.                 <?php include('display_words.php');?>
  57.                
  58.                 <br /><br /><input type="button" value="Next" onclick="hide10(), showResults()" id="next10">
  59.             </div>
  60.             <div id="Results">
  61.            
  62.             </div>
  63.            
  64.             <script typr="text/javascript">
  65.             function hide1() {
  66.                 $('#next1').click(function(e){
  67.                 e.preventDefault(); //to prevent standard click event
  68.                 $('#words1').hide();
  69.                 });
  70.             }function hide2() {
  71.                 $('#next2').click(function(e){
  72.                 e.preventDefault(); //to prevent standard click event
  73.                 $('#words2').hide();
  74.                 });
  75.             }function hide3() {
  76.                 $('#next3').click(function(e){
  77.                 e.preventDefault(); //to prevent standard click event
  78.                 $('#words3').hide();
  79.                 });
  80.             }function hide4() {
  81.                 $('#next4').click(function(e){
  82.                 e.preventDefault(); //to prevent standard click event
  83.                 $('#words4').hide();
  84.                 });
  85.             }function hide5() {
  86.                 $('#next5').click(function(e){
  87.                 e.preventDefault(); //to prevent standard click event
  88.                 $('#words5').hide();
  89.                 });
  90.             }function hide6() {
  91.                 $('#next6').click(function(e){
  92.                 e.preventDefault(); //to prevent standard click event
  93.                 $('#words6').hide();
  94.                 });
  95.             }function hide7() {
  96.                 $('#next7').click(function(e){
  97.                 e.preventDefault(); //to prevent standard click event
  98.                 $('#words7').hide();
  99.                 });
  100.             }function hide8() {
  101.                 $('#next8').click(function(e){
  102.                 e.preventDefault(); //to prevent standard click event
  103.                 $('#words8').hide();
  104.                 });
  105.             }function hide9() {
  106.                 $('#next9').click(function(e){
  107.                 e.preventDefault(); //to prevent standard click event
  108.                 $('#words9').hide();
  109.                 });
  110.             }function hide10() {
  111.                 $('#next10').click(function(e){
  112.                 e.preventDefault(); //to prevent standard click event
  113.                 $('#words10').hide();
  114.                 });
  115.             }
  116.             function show2() {
  117.                 $('#next1').click(function(e){
  118.                 e.preventDefault(); //to prevent standard click event
  119.                 $('#words2').fadeIn(3000);
  120.                 });
  121.             }
  122.             function show3() {
  123.                 $('#next2').click(function(e){
  124.                 e.preventDefault(); //to prevent standard click event
  125.                 $('#words3').fadeIn(3000);
  126.                 });
  127.             }
  128.             function show4() {
  129.                 $('#next3').click(function(e){
  130.                 e.preventDefault(); //to prevent standard click event
  131.                 $('#words4').fadeIn(3000);
  132.                 });
  133.             }function show5() {
  134.                 $('#next4').click(function(e){
  135.                 e.preventDefault(); //to prevent standard click event
  136.                 $('#words5').fadeIn(3000);
  137.                 });
  138.             }function show6() {
  139.                 $('#next5').click(function(e){
  140.                 e.preventDefault(); //to prevent standard click event
  141.                 $('#words6').fadeIn(3000);
  142.                 });
  143.             }function show7() {
  144.                 $('#next6').click(function(e){
  145.                 e.preventDefault(); //to prevent standard click event
  146.                 $('#words7').fadeIn(3000);
  147.                 });
  148.             }function show8() {
  149.                 $('#next7').click(function(e){
  150.                 e.preventDefault(); //to prevent standard click event
  151.                 $('#words8').fadeIn(3000);
  152.                 });
  153.             }function show9() {
  154.                 $('#next8').click(function(e){
  155.                 e.preventDefault(); //to prevent standard click event
  156.                 $('#words9').fadeIn(3000);
  157.                 });
  158.             }function show10() {
  159.                 $('#next9').click(function(e){
  160.                 e.preventDefault(); //to prevent standard click event
  161.                 $('#words10').fadeIn(3000);
  162.                 });
  163.             }
  164.            
  165.            
  166.             </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement