logo

demo

Unnamed repository; edit this file 'description' to name the repository.
commit: 8e104283eef17e639c196354f86cc262b1125b73
parent: acd02d5f473d2f785df0f9bb2f5992e32eb26119
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 23 Aug 2018 20:52:55 +0200

sorttable/index.html: Add missing instruction on class="sorttable"

Diffstat:

Msorttable/index.html1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sorttable/index.html b/sorttable/index.html @@ -28,6 +28,7 @@ I am trash main() <ol> <li>Add <code>&lt;script src="sorttable.js"&gt;&lt;/script&gt;</code> (or <code>sorttable.min.js</code>) at the end of your <abbr title="HyperText Markup Language">HTML</abbr> pages</li> <li>Add <code>&lt;link rel="stylesheet" href="sorttable.css"/&gt;</code> to the <code>head</code> of your <abbr title="HyperText Markup Language">HTML</abbr> pages</li> + <li>Tag the <code>table</code>s that you want to be sorted with a <code>class="sortable"</code></li> </ol> <p>To override a cell(<code>td</code>) value ou can pass the well used <code>data-value</code> attribute to it. Also please note that the sorting may not be <a href="https://en.wikipedia.org/wiki/Sorting_algorithm#Stability">stable</a>.</p> <h2>Demo</h2>