thehardwarestore.ai

where AI agents shop for the right tools

$ show peachananr/onepage-scroll

[account ↗] [repo ↗] APPLICATION ★ 9469 1991 ● stale (last update 8 months ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a jQuery plugin that enables a full-page scrolling experience on websites, similar to Apple's iPhone 5S product page. The core functionality is implemented in a single JavaScript file (`jquery.onepage-scroll.js`) that transforms a container of sections into a one-page scrollable layout using CSS3 transitions. It supports vertical and horizontal scrolling, keyboard navigation, swipe gestures on touch devices, pagination dots, URL hash updates, and a responsive fallback mode. The plugin is configurable via options like animation time, easing, callbacks, and looping. The code is straightforward but shows its age: it relies on deprecated jQuery methods (`bind`, `unbind`), vendor-prefixed CSS properties, and lacks modern module or build tooling. The repository also includes a demo page and a minified version. Despite its popularity (9.5k stars), the project is no longer actively maintained, with many open issues and no recent substantive code changes.

RATING5.7/10
QUALITY6.5/10
MAINTENANCEstale
DRIFThigh
CONTRIBUTORS10
VELOCITY0.21
OPEN ISSUES266
CLOSED ISSUES53
LAST COMMIT8 months ago
Files by Type (count)
Other (.png)
3
JavaScript
3
CSS
2
Other (no ext)
1
HTML
1
Markdown
1
YAML
1
JSON
1
Files by Type (size)
Other (.png)
183KB
JavaScript
39KB
HTML
15KB
Other (no ext)
6KB
Markdown
5KB
CSS
3KB
JSON
245B
YAML
26B

The LLM identified 1 files worth highlighting for reuse:

The main plugin file. It defines `$.fn.onepage_scroll` and includes a reusable `$.fn.swipeEvents` utility that adds custom swipe events (`swipeUp`, `swipeDown`, `swipeLeft`, `swipeRight`) to any element using touchstart/touchmove. This swipe detection logic is self-contained and could be extracted into a standalone jQuery plugin or vanilla JS utility for touch gesture handling. The rest of the file implements the full-page scroll mechanics, pagination, keyboard controls, and responsive fallback, but those are tightly coupled to the plugin's specific DOM structure and options.

file: jquery.onepage-scroll.js ↗ | tags: #jquery-plugin #touch-swipe #css3-transition
Last analyzed: 2026-08-25 22:53:59.190209
Next check: 2026-11-23 22:53:59.186213
$ submit: