javascript: make your table sortable in your blogger post








Include the code below in your post(HTML):
<style type="text/css">
/* Sortable tables */
table.sortable thead {
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    cursor: default;
}
</style>
<script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
Mark your table as a sortable one by giving it a class of "sortable":
<table class="sortable">

See also




3 comments:

  1. The world's top luxury brand best rolex! If you want to have those luxury watches,

    want to wear those replica rolex watches on your wrist, but

    stop because of their expensive price. Then please stop your footsteps, This is your the most correct place. First of all we

    should affirm that

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. My bad, it actually works!
    You can see on my reviews page how it looks =>
    https://goodmorninggamers.blogspot.com/p/reviews.html
    Now I wish there was a way to CONSTANTLY see the little down and up arrows though, so that users would actually KNOW that the table is sortable.
    Can you help me? 😋

    ReplyDelete