It's Pronounced "Pah-vert." You povert.


I’ve been working on a little bit of javascript in my spare time. The New York Times has recently employed a bit of code that allows you to highlight sentences or paragraphs using a hash in the story’s URL.

I think that’s a fantastic idea. I’ve thrown together some JS to do this. It’s available here. As a happy bonus, it allows for a range of sentences and it doesn’t require a page reload to highlight parts. The sentence selection, however, is terrible. So if anyone has any suggestions, please fork and put in a pull request.

My code does allow highlighting some stuff while jumping to another part, which I think is pretty neat. That is, “Read starting here, but really pay attention to this.”

(Also, Ken: No, you’re a nerd)


Leave a Reply

Povert is proudly powered by WordPress
Entries (RSS) and Comments (RSS).