Index & JS: Add scroll link to head to downloads
diff --git a/index.html b/index.html
index 8f15a2e..c98e055 100644
--- a/index.html
+++ b/index.html
@@ -114,7 +114,7 @@
</div>
<div class="row break">
<div class="centered col-md-6 about-last">
- <p class="text-center">Head To The Downloads <span class="glyphicon glyphicon-arrow-down"></span></p>
+ <p class="text-center"><a href="#portfolio" id="scrollPortfolio">Head To The Downloads <span class="glyphicon glyphicon-arrow-down"></span></a></p>
</div>
</div>
</div>
diff --git a/js/script.js b/js/script.js
index 97504e3..e3af2e5 100644
--- a/js/script.js
+++ b/js/script.js
@@ -19,6 +19,10 @@
e.preventDefault();
$.scrollTo($("#about"), 1000);
});
+ $("#scrollPortfolio").click(function(e) {
+ e.preventDefault();
+ $.scrollTo($("#portfolio"), 1000);
+ });
$("#nav-about").click(function(e) {
e.preventDefault();
$.scrollTo($("#about"), 1000);
@@ -31,7 +35,6 @@
e.preventDefault();
$.scrollTo($("#contact"), 1000);
});
- $("#nav-team").click(function(e) {
e.preventDefault
$.scrollTo($("#team"), 1000);
});