1
0
mirror of synced 2025-02-03 21:59:24 +03:00

Add sidebar anchor navigation.

This commit is contained in:
Florian Kissling 2015-04-27 09:31:28 +02:00
parent b68a7b38a0
commit 25a69716ac
2 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,26 @@
<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">
<ul class="nav s2-docs-sidenav">
<li>
<a href="#select2-400">Select2 4.0.0</a>
<ul class="nav">
<li><a href="#new-features">New features</a></li>
<li><a href="#plugin-system">Plugin system</a></li>
<li><a href="#amd-based-build-system">AMD-based build system</a></li>
</ul>
</li>
<li>
<a href="#migrating-from-select2-35">Migrating from Select2 3.5</a>
<ul class="nav">
<li><a href="#hidden-input">No more hidden input tags</a></li>
<li><a href="#new-matcher">Advanced matching of searches</a></li>
<li><a href="#flexible-placeholders">More flexible placeholders</a></li>
<li><a href="#value-ordering">Display reflects the actual order of the values</a></li>
<li><a href="#changed-options">Changed method and option names</a></li>
<li><a href="#removed-methods">Deprecated and removed methods</a></li>
</ul>
</li>
</ul>
<a class="back-to-top" href="#top">
Back to top
</a>
</nav>

View File

@ -18,9 +18,11 @@ slug: announcements-4.0
</div>
</section>
<div class="container">
<div class="container s2-docs-container">
<div class="row">
<div class="col-md-9" role="main">
<section id="release">
<h1>Select2 4.0.0</h1>
<h1 class="page-header">Select2 4.0.0</h1>
<p>
The 4.0 release of Select2 is the result of three years of working on the
@ -690,6 +692,11 @@ $("select").val("1").trigger("change"); // instead of $("select").select2("val",
$("select").prop("disabled", true); // instead of $("select").enable(false);
</pre>
</section>
</div>
<div class="col-md-3" role="complementary">
{% include nav/announcements-4.0.html %}
</div>
</div>
</div>
<script type="text/javascript">