]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add `scrollTop` param codepen!
authorharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 15:36:49 +0000 (21:06 +0530)
committerharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 15:36:49 +0000 (21:06 +0530)
docs/pages/drilldown-menu.md

index eaeb2205d473c7f4bbbae6124f545da1f385f586..e1fef2c341356a7caa6e203766ebcecdfc6accc7 100644 (file)
@@ -166,6 +166,12 @@ Any `<a>` without a submenu will function like a normal link.
 
 <div class="callout">Scroll to the top of the menu when selecting a submenu/navigating back using the menu back button. Can be useful with a longer menu to provide a better user experience.</div>
 
+<div class="docs-video-codepen-container">
+  <a class="" data-open-video="12:00"><img src="https://www.elastic.co/static/images/svg/video-play-btn.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+
+  <a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/jmKEwX?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/cp1.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html 
 <ul class="menu" data-drilldown data-scroll-top="true">
   <!--  -->