Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $("#pref-sliders-swap").appendTo( $("#sliderbox"));
- $("#sliderbox").hide();
- $("#characters").hide();
- $("#currentdesires").hide();
- $("#important").hide();
- $( "#sliderbutton" ).click(function() {
- $("#welcome").fadeOut(function(){
- $("#characters").fadeOut(function(){
- $("#currentdesires").fadeOut(function(){
- $("#important").fadeOut(function(){
- $("#sliderbox").fadeIn();
- });
- });
- });
- });
- });
- $( "#homebutton" ).click(function() {
- $("#sliderbox").fadeOut(function(){
- $("#characters").fadeOut(function(){
- $("#currentdesires").fadeOut(function(){
- $("#important").fadeOut(function(){
- $("#welcome").fadeIn();
- });
- });
- });
- });
- });
- $( "#charactersbutton" ).click(function() {
- $("#sliderbox").fadeOut(function(){
- $("#welcome").fadeOut(function(){
- $("#currentdesires").fadeOut(function(){
- $("#important").fadeOut(function(){
- $("#characters").fadeIn();
- });
- });
- });
- });
- });
- $( "#desirebutton" ).click(function() {
- $("#sliderbox").fadeOut(function(){
- $("#welcome").fadeOut(function(){
- $("#characters").fadeOut(function(){
- $("#important").fadeOut(function(){
- $("#currentdesires").fadeIn();
- });
- });
- });
- });
- });
- $( "#impbutton" ).click(function() {
- $("#sliderbox").fadeOut(function(){
- $("#welcome").fadeOut(function(){
- $("#characters").fadeOut(function(){
- $("#currentdesires").fadeOut(function(){
- $("#important").fadeIn();
- });
- });
- });
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement