Advertisement
zDeveloper

Untitled

Jan 15th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function() {
  2. $("#pref-sliders-swap").appendTo( $("#sliderbox"));
  3. $("#sliderbox").hide();
  4. $("#characters").hide();
  5. $("#currentdesires").hide();
  6. $("#important").hide();
  7.  
  8. $( "#sliderbutton" ).click(function() {
  9. $("#welcome").fadeOut(function(){
  10. $("#characters").fadeOut(function(){
  11. $("#currentdesires").fadeOut(function(){
  12. $("#important").fadeOut(function(){
  13. $("#sliderbox").fadeIn();
  14. });
  15. });
  16. });
  17. });
  18. });
  19.  
  20. $( "#homebutton" ).click(function() {
  21. $("#sliderbox").fadeOut(function(){
  22. $("#characters").fadeOut(function(){
  23.  
  24. $("#currentdesires").fadeOut(function(){
  25. $("#important").fadeOut(function(){
  26. $("#welcome").fadeIn();
  27. });
  28. });
  29. });
  30. });
  31. });
  32.  
  33. $( "#charactersbutton" ).click(function() {
  34. $("#sliderbox").fadeOut(function(){
  35. $("#welcome").fadeOut(function(){
  36. $("#currentdesires").fadeOut(function(){
  37. $("#important").fadeOut(function(){
  38. $("#characters").fadeIn();
  39. });
  40. });
  41. });
  42. });
  43. });
  44.  
  45.  
  46.  
  47.  
  48. $( "#desirebutton" ).click(function() {
  49. $("#sliderbox").fadeOut(function(){
  50. $("#welcome").fadeOut(function(){
  51. $("#characters").fadeOut(function(){
  52. $("#important").fadeOut(function(){
  53. $("#currentdesires").fadeIn();
  54. });
  55. });
  56. });
  57. });
  58. });
  59.  
  60. $( "#impbutton" ).click(function() {
  61. $("#sliderbox").fadeOut(function(){
  62. $("#welcome").fadeOut(function(){
  63. $("#characters").fadeOut(function(){
  64. $("#currentdesires").fadeOut(function(){
  65. $("#important").fadeIn();
  66. });
  67. });
  68. });
  69. });
  70. });
  71.  
  72. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement