-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
96 lines (79 loc) · 2.96 KB
/
Copy pathapp.js
File metadata and controls
96 lines (79 loc) · 2.96 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
$(document).ready(function(){
// alert('JS is up and running!');
$(function(){
$(".typewriter").typed({
strings: ["a web developer.", "a data analyst.", "a writer.", "a mentor.", "a lifelong student.", "Vikash. Hi.:)"],
typeSpeed: 40
});
});
// I am a web developer.
// I am a scientist.
// I am a data analyst.
// I am a writer.
// I am a reader.
// I am an athlete.
// I am a student.
// I am a mentor.
// I am Vikash.
// new jBox('Modal', {
// width: 300,
// height: 200,
// attach: $('#resolv'),
// title: 'Resolv',
// content: '<i>Hello there!</i>'
// });
$('.skill').jBox('Tooltip');
$('#fullpage').fullpage({
anchors:['about-section', 'portfolio-section', 'skills-section', 'experience-section', 'skills-section']
});
// function scrollToDiv(name) {
// var divTag = $("div[name='"+ name + "']");
// $('html,body').animate({
// scrollTop: divTag.offset().top},
// 2000); //lengthtime of scroll
// }
//
// //use
//
// $("#about").click(function() {
// scrollToDiv('about');
// });
//
/////////////////
// Twitter Feed//
/////////////////
// !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));
});
// <div class="modal fade" id="resolvModal" tabindex="-1" role="dialog">
// <div class="modal-dialog">
// <div class="modal-content">
// <div class="modal-header">
// <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
// <h4 class="modal-title">Resolv</h4>
// </div>
// <div class="modal-body">
// <p><b>Description: </b>A MEAN stack web app that allows users to track and share their New Years Resolutions.</p>
// <p><b>Technologies: </b>Angular/Bootstrap (front-end), Node/Express/MongoDB (back-end).</p>
// <p><b>Responsibilities: </b>All stages of development, from schema to deployment.</p>
// <p><b>Source: </b><a href="https://github.com/project-funtime/resolv" target="_blank">https://github.com/project-funtime/resolv</a></p>
// </div>
// <div class="modal-footer">
// <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
// </div>
// </div><!-- /.modal-content -->
// </div><!-- /.modal-dialog -->
// </div><!-- /.modal -->