Skip to content

24 ways to impress your friends

Vote down?

Pelle

This function looks really sweet! It’s a good thing it’s christmas again so we can get all these very nice tips :)

I do however wonder what the real advantage of this would be over having a div-tag with the css-property overflow set to hidden and which height is adjusted to hide different portions of the article? Maybe not the height should be adjusted but rather the padding or something. Wouldn’t such a solution also work? It would need the javascript controls but wouldn’t need as much javascript as this. Only curious :)