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




No comments:

Post a Comment