Re:The Sugru story
by marcusf on Monday November 21, 2011 @08:46AM
(#3261057)
This is slightly OT, but if someone from Sugru is reading, the page looks weird in Chrome. The background is very jittery when you scroll (Chrome 15.0.874.121). It stays fixed in Safari and scrolls down in Firefox, and both look fine, but Chrome looks a bit weird.
[ Parent
| on HN ]
That's because whoever coded this page decided that it's a good idea to emulate "background-position: fixed" by updating the "background-position" of the #main element on every scroll event. Which seems quite stupid if you ask me.
Re:The Sugru story
by Hovertruck on Monday November 21, 2011 @10:27AM
(#3261392)
This was almost too annoying for me to actually pay attention to the page.
I had to use this 'zap' bookmarklet[1] on it. It was way too distracting.
Re:The Sugru story
by WiseWeasel on Monday November 21, 2011 @06:56PM
(#3263376)
It's probably done like that because iDevices don't support fixed positioning. Some browser detection and different CSS/JS profiles based on browser type would probably be warranted.
That's idiotic, sacrificing the majority for the minority.
Re:The Sugru story
by skeletonjelly on Monday November 21, 2011 @07:37PM
(#3263484)
I can see how mobile devices that don't want a mobile version of the site kind of necessitate this, but surely Apple could have gone about this better.
word. yep, something like background-attachment to fixed when the element is scrolled into view
Thanks for the tip Marcus. We've fixed this now.