By Brian Burke
You've probably noticed that on your iPad the ANS front page presented you with a big white box with nothing but a line of text. It told you that you don't have Flash, and here's a link to a non-Flash version of the graph. And the link did nothing but take you to another page that told you the same thing and gave you the same link, which finally took you to the old pre-Flash version (which was optimized for circa-2008 Blackberrys.) Embarrassing.
But now things are looking up for you. Unfortunately I can't do anything about the hipster thing--you'll grow out of it eventually. But I can make it a lot easier to see live WP updates without Flash. Starting this weekend I've gotten off my butt and replaced the ugly 'You don't have Flash' error with the Apple-friendly version of the graph. This version isn't interactive and doesn't provide enhanced details, so it won't exactly knock your fedora off, but it's better than a big white box with an error message.
Eventually I'd like to move to a universal version of the graphs. I'm leaning toward a package called jqplot, which is really nice. The only problem is that my tooltips (the context bubbles with the play information) can grow quite large, and jqplot doesn't handle that well. If you have another suggestion please provide it in the comments. Fangraphs uses High Charts, which looks promising.
(And yes, I know Macs have Flash and the new Android mobile browsers don't. Don't get your ironic argyle socks in a bunch. By the way, there is a workaround on Android. Check out the Dolphin Browser. I was using it way before it went mainstream. And if you're a hipster, and you know who you are, just remember that in 25 years your kids will think of you the same way you think of these people.)
published on 10/27/2013 in site news