Home › Forums › Other › Animate div onclick other div › Re: Animate div onclick other div
June 13, 2013 at 7:13 pm
#138657
amyth91
Participant
$(document).ready(function(){
//click the clickable div
$(“#clickableDiv”).click(function(){
//add animation/keyframes class to the alienship/animated div
$(“#animatedDiv”).addClass(“animation”);
});
//oepn new page after 3s
setTimeout(function(){ window.open(‘www.yourdomain.com’,’_blank’);},3000)
})