Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="words1">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide1(), show2()" id="next1">
- </div>
- <div id="words2">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide2(), show3()" id="next2">
- </div>
- <div id="words3">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide3(), show4()" id="next3">
- </div>
- <div id="words4">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide4(), show5()" id="next4">
- </div>
- <div id="words5">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide5(), show6()" id="next5">
- </div>
- <div id="words6">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide6(), show7()" id="next6">
- </div>
- <div id="words7">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide7(), show8()" id="next7">
- </div>
- <div id="words8">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide8(), show9()" id="next8">
- </div>
- <div id="words9">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide9(), show10()" id="next9">
- </div>
- <div id="words10">
- <?php include('display_words.php');?>
- <br /><br /><input type="button" value="Next" onclick="hide10(), showResults()" id="next10">
- </div>
- <div id="Results">
- </div>
- <script typr="text/javascript">
- function hide1() {
- $('#next1').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words1').hide();
- });
- }function hide2() {
- $('#next2').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words2').hide();
- });
- }function hide3() {
- $('#next3').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words3').hide();
- });
- }function hide4() {
- $('#next4').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words4').hide();
- });
- }function hide5() {
- $('#next5').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words5').hide();
- });
- }function hide6() {
- $('#next6').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words6').hide();
- });
- }function hide7() {
- $('#next7').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words7').hide();
- });
- }function hide8() {
- $('#next8').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words8').hide();
- });
- }function hide9() {
- $('#next9').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words9').hide();
- });
- }function hide10() {
- $('#next10').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words10').hide();
- });
- }
- function show2() {
- $('#next1').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words2').fadeIn(3000);
- });
- }
- function show3() {
- $('#next2').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words3').fadeIn(3000);
- });
- }
- function show4() {
- $('#next3').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words4').fadeIn(3000);
- });
- }function show5() {
- $('#next4').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words5').fadeIn(3000);
- });
- }function show6() {
- $('#next5').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words6').fadeIn(3000);
- });
- }function show7() {
- $('#next6').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words7').fadeIn(3000);
- });
- }function show8() {
- $('#next7').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words8').fadeIn(3000);
- });
- }function show9() {
- $('#next8').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words9').fadeIn(3000);
- });
- }function show10() {
- $('#next9').click(function(e){
- e.preventDefault(); //to prevent standard click event
- $('#words10').fadeIn(3000);
- });
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement