Browse Source

Updated side navigation

Now most of the links works, not including the ones for sections which
don't exist at the moment.
Kevin Brown 10 năm trước cách đây
mục cha
commit
4541d83c5d
1 tập tin đã thay đổi với 7 bổ sung14 xóa
  1. 7 14
      docs/_includes/nav/options-new.html

+ 7 - 14
docs/_includes/nav/options-new.html

@@ -3,7 +3,8 @@
     <li>
       <a href="#core-options">Core options</a>
       <ul class="nav">
-        <li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
+        <li><a href="#setting-default-options">Changing default options</a></li>
+        <li><a href="#data-attributes">Declaring configuration in the HTML</a></li>
         <li><a href="#amd">AMD compatibility</a></li>
       </ul>
     </li>
@@ -28,7 +29,7 @@
           <a href="#placeholder">Showing a placeholder</a>
         </li>
         <li>
-          <a href="#allowClear">Resetting selections back to the placeholder</a>
+          <a href="#allowClear">Clearing selections</a>
         </li>
         <li>
           <a href="#templateSelection">Templating</a>
@@ -37,15 +38,10 @@
     </li>
     <li>
       <a href="#results">Displaying results</a>
-    </li>
-    <li>
-      <a href="#dropdown">Dropdown</a>
       <ul class="nav">
-        <li><a href="#dropdownParent">Attached to body</a></li>
-        <li><a href="#dropdown-attachContainer">Attached below the container</a></li>
-        <li><a href="#dropdown-search">Search</a></li>
-        <li><a href="#dropdown-select-on-close">Select the highlighted option on close</a></li>
-        <li><a href="#closeOnSelect">Close the dropdown when a result is selected</a></li>
+        <li><a href="#can-i-change-when-search-results-are-loaded">Controlling result loading</a></li>
+        <li><a href="#can-i-change-how-selecting-results-works">Making selections</a></li>
+        <li><a href="#can-i-change-how-the-dropdown-is-placed">Placement</a></li>
       </ul>
     </li>
     <li>
@@ -66,10 +62,7 @@
       </ul>
     </li>
     <li>
-      <a href="#setting-default-options">Setting default options</a>
-    </li>
-    <li>
-      <a href="#backwards-compatibility">Backwards compatibility</a>
+      <a href="#backwards-compatibility">Deprecated options</a>
       <ul class="nav">
         <li><a href="#compat-matcher">Simplified function for matching data objects</a></li>
         <li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>