forked from ajitesh13/Hacktoberfest-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
27 lines (25 loc) · 914 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
var image = document.getElementById("image");
image.addEventListener("mouseover", function(){
this.width = "380"
});
image.addEventListener("mouseout", function(){
this.width = "350"
});
jQuery(function(){
var animateThankYou = function() {
$('ul.animated-thank-you').find('li').css({'display':'none'});
var obj = $('ul.animated-thank-you'),
lists = obj.children();
$(lists).css({
'opacity': 0,
'display':'inline-block',
});
$( lists ).each(function( i ) {
$(this).delay( i * 800 ).animate({
'opacity': 1
});
});
setTimeout(animateThankYou, 7000);
};
animateThankYou();
});