GoScrollJs
Tiny and Powerful Library for change place of the scroll and focus on element.
Install / Use
/learn @BaseMax/GoScrollJsREADME
GoScroll
GoScrollJs
Tiny and Powerful Library for change place of the scroll and focus on element.
Features
- Fast
- Compact
- No dependencies
- With animation and effects
Arguments
| Argument Name | Goal |
| -------------- | ---- |
| data-scroll-go | Go to a element |
| data-scroll-offset | Set Custom Offset (default : 50) |
| data-scroll-time | Set Custom Time (default : 500) |
| data-scroll-to | Go to a position (pixel) |
Samples
To view the full details, run the Example.html file.
data-scroll-go
<button data-scroll-go="#id_name">Go</button>
<button data-scroll-go=".class_name">Go</button>
data-scroll-offset
<button data-scroll-offset="150" data-scroll-go=".class_name">Go</button>
data-scroll-time
<button data-scroll-time="5000" data-scroll-go=".class_name">Go</button>
data-scroll-to
<button data-scroll-to="280">Go</button>
onclick
<button data-scroll-go="span.class_name" onclick="goscroll.go(this)">
<button data-scroll-to="480" onclick="goscroll.goto(this)">
License
GoScroll is licensed under the GNU General Public License.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
