]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
some text changes thanks @brettsmason 8698/head
authorjk <j.koehler@modulingo.de>
Thu, 5 May 2016 20:53:58 +0000 (22:53 +0200)
committerjk <j.koehler@modulingo.de>
Thu, 5 May 2016 20:53:58 +0000 (22:53 +0200)
docs/pages/drilldown-menu.md
js/foundation.drilldown.js

index 55dce7a24ac149eeb0aa93c966d9ac8ff4df5566..fbfcaae1c1d37ad5a6dba1bdf34682fcb41809b8 100644 (file)
@@ -75,7 +75,7 @@ Any `<a>` without a submenu will function like a normal link.
 
 ## ScrollTop Drilldown
 
-<div class="callout">Scroll to the top on change the menu - Option scrollTop</div>
+<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>
 
 <ul class="menu" data-drilldown data-scroll-top="true" style="width: 200px" id="m2">
   <li><a href="#">Item</a></li>
index 8dcf1eb89c892043c9b2d0f7d640de45ea0b392a..aade7664e9166e5272caafc737d718b39266efe5 100644 (file)
@@ -393,7 +393,7 @@ Drilldown.defaults = {
    */
   closeOnClick: false,
   /**
-   * Scroll the menu after open,hide,closed
+   * Scroll to the top of the menu after opening a submenu or navigating back using the menu back button
    * @option
    * @example false
    */