Truncate if necessary

This article was written in 2015. It might or it might not be outdated. And it could be that the layout breaks. If that’s the case please let me know.

It happens often at search pages in web shops. Sometimes the results don’t fit on a single page and you click on the number 2 to see all the other items. But instead, on the second page, there’s just one single thing. I always wonder, why didn’t they show that single thing on the first page? A second page only makes sense when there are quite a few items. It turns out this is not hard at all, as Jonathan Snook shows in this example where he truncates a text after 200 characters, only if there are more than 300 characters. Which is similar. Simple, clever, and people will love you.