Hacker News new | ask | show | jobs
by DigitalSea 5034 days ago
Wow, this is atrocious on so many levels. 30mb of jpg files? The inner web development nerd in me believes there is a better more efficient way to do this. The length of the page is ridiculously long to scroll and unless you have a Mac with a Magic Mouse and smooth scrolling and not a Windows machine (like I use) the scrolling is super jerky.
3 comments

The inner web development nerd in me believes there is a better more efficient way to do this.

Sure there is, it's called a video.

We fell into the scroll trap with our website last year. I spent a long time figuring out how to get scrolling working smoothly in all the browsers (hint, don't rely on anyones libraries but your own).

Most of it is not that interesting but if you scroll down to Snapper and Twilert (about half way down) you can see how we did the animations ourselves instead of using lots of big jpgs. (actually, cudos to jquery.rotate for making it possible)

http://www.codegent.com/apps

It works in IE7+ (though the js engine in IE7+8 is slooooow).

With a lot of work you can get something that looks pretty but at the expense of a lot of other things (like usability).

Middle-click auto-scroll.