npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jquery-table-fixer

v1.0.0

Published

TableHeadFixer is a simple [jQuery](http:/jquery.com/ "jQuery") plugin for fixer HTML tables header, footer or columns.<br/> This plugin will only add elements events and css attributes necessary for fix tables header, footer or columns, you can customiz

Downloads

614

Readme

TableHeadFixer

About

TableHeadFixer is a simple jQuery plugin for fixer HTML tables header, footer or columns. This plugin will only add elements events and css attributes necessary for fix tables header, footer or columns, you can customize styles of your table, this plugin will not influence style of table (width, height, background, font color, etc...)

Require (Important!)

Get Starting

For use TableHeadFixer plugin, is require include jQuery in your page. After included jQuery in your page, just include TableHeadFixer plugin and call .tableHeadFixer([param]) function after page rendered. And table of fixed need has a div, where included all size style.

Example:

Fix Table Header

    // get your table with jQuery selector
    $("#fixTable").tableHeadFixer();

Fix First Left Column

By default, table header is fixed when .tableHeadFixer() function is called, if you need fix only footer or columns, is necessary disable head fix by parameter.

	$("#fixTable").tableHeadFixer({'left' : 1, 'head' : false});

Fix Two Left Columns

	$("#fixTable").tableHeadFixer({'left' : 2, 'head' : false});

Fix Table Header and First Right Column

	$("#fixTable").tableHeadFixer({'right' : 1});

Fix Table Header and Footer

	$("#fixTable").tableHeadFixer({'foot' : true});

Maybe you will need set fixer cells for resolve conflit between jQuery plugins

	$("#fixTable").tableHeadFixer({'z-index' : 50});

Fix Multiple Rows in Header or Footer

For fix multiple rows in header or footer, is only add new tr in the header or footer, all tr is will be fixed.

More Demos

For check more demos, please enter in the examples path.

Parameters

|attribute | values |default | |-----------|---------------|-----------| | head | true/false |true | | foot | true/false |false | | left | 1,2,3,4,etc |0 | | right | 1,2,3,4,etc |0 | | z-index | 10,50,999,etc |0 |

Note

For fixer table header, footer or columns, is important table contained in a div, where which has set height, for fix header or footer, and set width, for fix left or right columns. This is very important, after all, for fix any row or columns, is necessary a area limited for show table.

If fixed cells border is important for you

If fixed cells border is important for you, is necessary set table cells css border-collapse: separate, because for css, when border-collapse: collapse, cells border is not possible separate and maintain even position of fixed cells