Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".button").click(function(){
- $("#header").animate({top: "-50"}, "slow")
- $("#something").animate({height: "hide"}, "slow")
- $("ul#menu").animate({top: "20", left: "0"}, "slow")
- $(".trigger").animate({height: "show", top: "110", left: "0"}, "slow");
- });
- $(".button").click(function(){
- $("#header").animate({top: "-50"}, "slow", function() {
- $("#something").animate({height: "hide"}, "slow", function() {
- $("ul#menu").animate({top: "20", left: "0"}, "slow", function() {
- $(".trigger").animate({height: "show", top: "110", left: "0"}, "slow");
- });
- });
- });
- });
- $("#1").animate({marginTop: "100px"}, {duration: 100, queue: "global"});
- $("#2").animate({marginTop: "100px"}, {duration: 100, queue: "global"});
- $("#3").animate({marginTop: "100px"}, {duration: 100, queue: "global"});
- $('.images IMG').ready(
- function(){
- $('BODY').queue(
- function(){
- $('.images').fadeTo('normal',1,function(){$('BODY').dequeue()});
- }
- );
- }
- );
- $(".button").click(function(){
- $("#header").animate({top: "-50"}, 1000)
- $("#something").delay(1000).animate({height: "hide"}, 1000)
- $("ul#menu").delay(2000).animate({top: "20", left: "0"}, 1000)
- $(".trigger").delay(3000).animate({height: "show", top: "110", left: "0"}, "slow");
- });
- $(".button").click(function(){
- $("#header").animate({top: "-50"}, { queue: true, duration: "slow" })
- $("#something").animate({height: "hide"}, { queue: true, duration: "slow" })
- $("ul#menu").animate({top: "20", left: "0"}, { queue: true, duration: "slow" })
- $(".trigger").animate({height: "show", top: "110", left: "0"}, { queue: true, duration: "slow" });
- });
Add Comment
Please, Sign In to add comment