Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
floatthead
Advanced tools
Float the table header on scroll. No changes to your HTML/CSS are required, it just works. Supports floating the header while scrolling within the window or while scrolling within a container with overflow. Supports responsive tables.
npm install floatthead
bower install floatThead
https://cdnjs.com/libraries/floatthead/
https://www.jsdelivr.com/#!jquery.floatthead
https://unpkg.com/floatthead
<!-- Latest compiled and minified JavaScript -->
<script src="https://unpkg.com/floatthead"></script>
<script>
$(() => $('table').floatThead());
</script>
vuejs component by @tmlee
angularjs directive by @brandon-barker
yii2 framework wrapper by @bluezed
position:sticky
?You probably should! This plugin was created years before that existed. There are still a few reasons why you might want to use this plugin:
position: sticky
.position: sticky
.
top
position is dynamic, or you want to know when the header becomes sticky and you don't want to write code to do this.position:fixed
cannot do (and on browsers that do not support it)fixed
vs absolute
position modes)position:absolute
which adds a wrapper, or position:fixed
which does not. Both have their pros and cons. By default the best option is chosen based on your configurationdir
on html
element.If you use css and html best practices, this plugin will work. If you are stuck in 1999, you better read the faq.
All issues should be reported through github.
MIT
2.2.5
Fixed #487, a scroll container bug that existed since 2015 :)
FAQs
fixed table header plugin that works
The npm package floatthead receives a total of 16,175 weekly downloads. As such, floatthead popularity was classified as popular.
We found that floatthead demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.