# garand/sticky

jQuery Plugin for Sticky Objects

Repository: https://github.com/garand/sticky
Canonical: https://ross.abutalabs.com/products/sticky
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2019-11-13T13:09:12+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5679, "days_push": 2485, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3264, forks 1021 (observed 2026-08-28T04:07:52.889550+00:00)

## What it is
Sticky is a jQuery plugin that makes any page element stay visible while scrolling by switching it to position: fixed with configurable spacing. It adds CSS classes, manages a wrapper element, and emits lifecycle events like sticky-start and sticky-end.

## Use cases
- make a sidebar stay visible while scrolling
- keep a navigation bar pinned to the top of the page
- stick an element with custom top and bottom spacing
- recalculate sticky element width on window resize
- run code when an element becomes sticky or unsticks

## When to choose
- you already use jQuery and need simple sticky/fixed positioning behavior
- you need configurable spacing, width handling, and sticky lifecycle events
- you want a lightweight, dependency-light solution for older browsers

## When to avoid
- you use a modern framework where CSS position: sticky suffices
- you are building a new jQuery-free project
- you need actively maintained code with a clear license

## Facets
- artifact type: plugin
- maturity: maintenance
- function: ui-components, animation
- domain: web-development, frontend
- platform: browser
- tags: jquery-plugin, sticky-elements, scrolling, position-fixed, jquery

## Member repositories
- garand/sticky (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:52.889550+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:23:11.263370+00:00, confidence not recorded.
  - readme: https://github.com/garand/sticky (fetched 2026-08-28T04:07:52.889550+00:00, sha 8510cadd3b73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
