Skippy laggy animations
After a while..
Show message
Join up (it's free!) whether you're just starting out or you're crazy advanced. Get tips from people who know what they're talking about, without being treated like the playground smelly kid. Because seriously, your school classes didn't teach you anything you wanted to know.

Posted 18 May 2012 - 06:42 PM (#1)
Posted 18 May 2012 - 10:39 PM (#2)
Posted 19 May 2012 - 10:43 AM (#3)
Posted 19 May 2012 - 11:09 AM (#4)
iRook, on 19 May 2012 - 10:43 AM, said:
Posted 19 May 2012 - 02:42 PM (#5)
$(document).ready(function(){
var dl = 0;
$("#container").delay(200).animate({top: "50px"}, 200)
.animate({top: "44px"}, 200)
.animate({top: "50px"}, 150)
.animate({top: "47px"}, 130)
.animate({top: "50px"},120)
$("#logo").delay(1000).animate({width:"276px"}, 3000)
$("#download_text").hover(
function() {
if(dl==0) {
$("#download").stop().animate({bottom: "50px"});
$(this).stop().fadeTo(200, 0);
}
},
function() {
$(this).stop().fadeTo(200, 1);
});
if(dl==0){
$("#download").click(function() {
window.location = "launcher_v1.zip";
dl = 1;
$("#download_text").html("Should have started!");
$("#download").stop().animate({bottom: "-200px"});
});
}
$("li").hover(
function() {
$(this).stop().animate({left: "10px"});
},
function() {
$(this).stop().animate({left: "0px"});
});
});
Posted 20 May 2012 - 12:56 AM (#6)