diff --git a/overview.html b/overview.html index 75018e1..6272e78 100644 --- a/overview.html +++ b/overview.html @@ -8,8 +8,12 @@

1 minute CEFI

NOAA’s Climate, Ecosystems, and Fisheries Initiative (CEFI) focuses on creating an operational ocean modeling and decision support system. This system will cover various ocean regions, including the U.S. coastline, and provide actionable information to help - decision-makers adapt to changing ocean conditions. 🌊🐟🌎 + decision-makers adapt to changing ocean conditions. 🌎🌊🐟

+ +

Know the Regions

@@ -67,7 +71,7 @@

Featured Resources



-
+

What is Climate, Ecosystems, and Fisheries Initiative (CEFI)?

diff --git a/overview.js b/overview.js index 4a33183..6ab5012 100644 --- a/overview.js +++ b/overview.js @@ -11,6 +11,14 @@ $(document).ready(function() { }); }); +// slow animate transition to CEFI detail info +$(document).ready(function(){ + $("#detailCEFIButton").click(function() { + $('html, body').animate({ + scrollTop: $("#detailCEFI").offset().top + }, 1000); + }); +}); // function for create option for general options function chooseDefaultRegion(selectClass,defaultValue) { @@ -21,3 +29,7 @@ function chooseDefaultRegion(selectClass,defaultValue) { elms[i].value = defaultValue } }; + + + +