From a9af8bf701db00172090254a496da4549bf22f3e Mon Sep 17 00:00:00 2001 From: Nordanne Isahac Date: Mon, 20 Feb 2017 08:06:08 +0800 Subject: [PATCH] Revert "Improvements" This reverts commit ffdc71d8e882a7d5eb32e3b69c7487ce01895994. --- docs/pages/smooth-scroll.md | 13 ++++++++++--- js/foundation.smoothScroll.js | 8 +++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/pages/smooth-scroll.md b/docs/pages/smooth-scroll.md index 54faacc9b..59327576f 100644 --- a/docs/pages/smooth-scroll.md +++ b/docs/pages/smooth-scroll.md @@ -6,9 +6,16 @@ tags: - navigation --- -## Usage + + +
+ +## Setup -To enable smooth scrolling on internal links add the attribute `data-smooth-scroll` to the parent container like our [Menu](menu.html). Each section needs a unique ID +To enable SmoothScroll on internal links, just add the attribute `data-smooth-scroll` to the parent container like our [Menu](menu.html). Each section needs a unique ID ```html