Finding the Scroll Position in IE10

I hate to label this a “device bug”, but since everyone else supports it, and someone doesn’t, I’ll label it as such…

It’s been so long since I had to deal with IE that I had forgotten about this, but IE does not support window.scrollX/window.scrollY; you have to use window.pageXOffset/window.pageYOffset

So this is an effective way to find the current vertical scroll position:
var top = (window.scrollY || window.pageYOffset);

One more teeny difference for the mobile web! :-)


Hyphenation works!

I’m not sure how well CSS hyphens work across languages, but, in theory, if your page is declaring its language, this should work well for your pages:

The question then, is do hyphens look good on pages, will designers be happier with hyphens than with odd line-breaks?