$("#page1 .textblock.hidden").fadeIn('fast').animate({
'marginTop': textblockpan - ($("#page1 .textblock").height() / 2),
}, 1500, function () {
$(".title").fadeIn(500, function () {
$("#building").animate({
width: "147px",
height: "147px"
}, 1000, function () {
$("#info001").animate({
width: "147px",
height: "147px"
}, 1000)
});
});
}).removeClass('hidden').addClass('visible');
Found and a good startcode for some jQuery effects and learned here how you should let one jQuery effect starts after a other. The code above works fine: my textblock animates in, the title is fading in and the #building
div becomes bigger. So the first three effects show up in the correct order. But seems to be I lost control with inserting the fourth effect (animate #info001
). Can somebody tell me if the code is looking fine or that indeed i lost my way in all the ){){{)){
?