-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
47 lines (41 loc) · 1.14 KB
/
Copy pathmain.js
File metadata and controls
47 lines (41 loc) · 1.14 KB
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
46
// function to handle text typing animation
$(function(){
$("#animatetext").typed({
strings: ["Learn new things.", "Build cool projects.", "Join an awesome community.", "Impress interviewers.", "Learn. Build. Code."],
typeSpeed: 0,
callback: function() {
},
});
});
$('#learn-more-button').click(function() {
$('html, body').animate({scrollTop: $(".about").offset().top}, 1000);
})
/*
$('.page-apply').click(function() {
$('html, body').animate({scrollTop: $(".typeform-widget").offset().top}, 1000);
})
$('#apply-button').click(function() {
$('html, body').animate({scrollTop: $(".typeform-widget").offset().top}, 1000);
})
*/
/* @deprecated for now
function hover(element) {
element.setAttribute('src', 'assets/logo-red.png');
}
function unhover(element) {
element.setAttribute('src', 'assets/logo-purp.png');
}
*/
<!--//--><![CDATA[//><!--
var images = new Array()
function preload() {
for (i = 0; i < preload.arguments.length; i++) {
images[i] = new Image()
images[i].src = preload.arguments[i]
}
}
preload(
"assets/logo-red.png",
"assets/logo-purp.png"
)
//--><!]]>