TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

StickyMojo: A contained sticky sidebar plugin for jQuery.

20 点作者 dberube将近 13 年前

7 条评论

drharris将近 13 年前
Can any UX people illuminate the modern popularity of these things? I find them very distracting, and typically unusable. When I'm scrolling down the page, the function I'm performing is consumption of content. With a sidebar there begging me to click away (or worse, display ads and social media junk), it considerably reduces my desire to perform this function. It just reminds me of the Java applets in 1996 for sidebar buttons.
评论 #4270880 未加载
评论 #4271087 未加载
leeoniya将近 13 年前
not so sure about the "Finally" claim. been using <a href="https://github.com/terkel/jquery-floating-widget" rel="nofollow">https://github.com/terkel/jquery-floating-widget</a> for a while, it also has the ability to stop floating when past a certain container's bottom edge. it's also much lighter weight.<p>demo: <a href="http://terkel.jp/demo/jquery-floating-widget-plugin.html" rel="nofollow">http://terkel.jp/demo/jquery-floating-widget-plugin.html</a>
评论 #4271079 未加载
eli将近 13 年前
I thought binding to window.scroll was considered bad practice without something like this <a href="http://benalman.com/projects/jquery-throttle-debounce-plugin/" rel="nofollow">http://benalman.com/projects/jquery-throttle-debounce-plugin...</a>
评论 #4271772 未加载
mkmcdonald将近 13 年前
UserAgent sniffing and Graceful Degradation do not mesh.<p>This sniffing in particular will fail for Opera 6-8, therefore excluding perfectly capable browsers by a very shallow criterion.<p>The sniff serves no purpose, and is furthermore based upon a thoroughly disproved anti-pattern.
tvdw将近 13 年前
That page feels extremely sluggish when scrolling... I don't think I'm ever going to use this. And yes I'm using a browser with hardware acceleration intentionally disabled to simulate slower computers.
niekmaas将近 13 年前
Why is there need for a plugin to do this? Why not use CSS: position: fixed?
评论 #4271462 未加载
snambi将近 13 年前
Can you point me to a page, where I can see the sticky mojo?
评论 #4271942 未加载