-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscript.js
45 lines (33 loc) · 827 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$(document).ready(function() {
$(this).scrollTop(0);
$.scrollLock(true);
/*$('.anim').mouseenter(function() {
$(this).animate({
height: '+=10px'
});
});
$('.anim').mouseleave(function() {
$(this).animate({
height: '-=10px'
});
});
/* $('html','body').on('scroll touchmove mousewheel', function(e){
e.preventDefault();
e.stopPropagation();
return false;
})
$('html, body').css({
overflow: 'hidden',
height: '100%'
});*/
$('#lol').click(function(){
$.scrollLock(false);
$('html, body').animate({
scrollTop: $("#gallery").offset().top
}, 2000);
});
$(".project").hover3d({
selector: ".project__card",
shine: true
});
});