Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 19,624 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.