Fix links
This commit is contained in:
parent
748eff7c4a
commit
cdd620d763
@ -17,8 +17,7 @@ you to quickly include Select2 on your website.
|
||||
|
||||
### Include the assets
|
||||
|
||||
Include the following lines of code in the <code><head></code>
|
||||
section of your HTML.
|
||||
Include the following lines of code in the `<head>` section of your HTML.
|
||||
|
||||
```
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css" rel="stylesheet" />
|
||||
@ -30,7 +29,7 @@ section of your HTML.
|
||||
|
||||
### Initialize Select2
|
||||
|
||||
Initialize Select2 on the <code><select></code> element that you want to make awesome.
|
||||
Initialize Select2 on the `<select>` element that you want to make awesome.
|
||||
|
||||
```
|
||||
<script type="text/javascript">
|
||||
@ -38,10 +37,6 @@ Initialize Select2 on the <code><select></code> element that you want to m
|
||||
</script>
|
||||
```
|
||||
|
||||
### Read the docs
|
||||
|
||||
Check out the <a href="/examples">examples chapter</a> to start using the additional features of Select2.
|
||||
|
||||
## Downloading the code locally
|
||||
|
||||
In some situations, you can't use Select2 from a CDN and you must include the files through your own static file servers.
|
||||
@ -61,7 +56,3 @@ Include the following lines of code in the `<head>` section of your HTML.
|
||||
<link href="path/to/select2.min.css" rel="stylesheet" />
|
||||
<script src="path/to/select2.min.js"></script>
|
||||
```
|
||||
|
||||
### Read the docs
|
||||
|
||||
Check out the <a href="/examples">examples chapter</a> to start using the additional features of Select2.
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Basic Usage
|
||||
title: Basic usage
|
||||
taxonomy:
|
||||
category: docs
|
||||
process:
|
||||
|
@ -2,6 +2,8 @@
|
||||
title: Builds and modules
|
||||
taxonomy:
|
||||
category: docs
|
||||
process:
|
||||
twig: true
|
||||
---
|
||||
|
||||
## The different Select2 builds
|
||||
@ -33,11 +35,7 @@ should read over the list below.
|
||||
Full (<code>select2.full.js</code> / <code>select2.full.min.js</code>)
|
||||
</td>
|
||||
<td>
|
||||
You should only use this build if you need the additional features
|
||||
from Select2, like the
|
||||
<a href="options.html#compatibility">compatibility modules</a> or
|
||||
recommended includes like
|
||||
<a href="https://github.com/jquery/jquery-mousewheel">jquery.mousewheel</a>
|
||||
You should only use this build if you need the additional features from Select2, like the <a href="{{base_url_absolute}}/upgrading/migrating-from-35">compatibility modules</a> or recommended includes like <a href="https://github.com/jquery/jquery-mousewheel">jquery.mousewheel</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -2,6 +2,9 @@
|
||||
title: Getting Started
|
||||
taxonomy:
|
||||
category: docs
|
||||
process:
|
||||
twig: true
|
||||
twig_first: true
|
||||
---
|
||||
|
||||

|
||||
@ -19,9 +22,9 @@ Select2 gives you a customizable select box with support for searching, tagging,
|
||||
<h4>In your language</h4>
|
||||
<p>
|
||||
Select2 comes with support for
|
||||
<a href="examples.html#rtl">RTL environments</a>,
|
||||
<a href="examples.html#diacritics">searching with diacritics</a> and
|
||||
<a href="examples.html#language">over 40 languages</a> built-in.
|
||||
<a href="{{base_url_absolute}}/i18n#rtl-support">RTL environments</a>,
|
||||
<a href="{{base_url_absolute}}/i18n#diacritics">searching with diacritics</a> and
|
||||
<a href="{{base_url_absolute}}/i18n#">over 40 languages</a> built-in.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@ -29,7 +32,7 @@ Select2 gives you a customizable select box with support for searching, tagging,
|
||||
<i class="fa fa-database fa-4x"></i>
|
||||
<h4>Remote data support</h4>
|
||||
<p>
|
||||
<a href="examples.html#data-ajax">Using AJAX</a> you can efficiently
|
||||
<a href="{{base_url_absolute}}/data-sources/ajax">Using AJAX</a> you can efficiently
|
||||
search large lists of items.
|
||||
</p>
|
||||
</div>
|
||||
@ -49,7 +52,7 @@ Select2 gives you a customizable select box with support for searching, tagging,
|
||||
<i class="fa fa-plug fa-4x"></i>
|
||||
<h4>Fully extensible</h4>
|
||||
<p>
|
||||
The <a href="announcements-4.0.html#plugin-system">plugin system</a>
|
||||
The <a href="{{base_url_absolute}}/advanced">plugin system</a>
|
||||
allows you to easily customize Select2 to work exactly how you want it
|
||||
to.
|
||||
</p>
|
||||
@ -60,7 +63,7 @@ Select2 gives you a customizable select box with support for searching, tagging,
|
||||
<h4>Dynamic item creation</h4>
|
||||
<p>
|
||||
Allow users to type in a new option and
|
||||
<a href="examples.html#tags">add it on the fly</a>.
|
||||
<a href="{{base_url_absolute}}/tagging">add it on the fly</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user