Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We do something similar to this on Lanyrd - try shrinking the browser window on http://sxsw.lanyrd.com/ for example. The labels on the tabs change from "your sessions, your contacts' sessions, all sessions (1114), attendees (2594)" at the widest setting to "you, contacts, all, attendees" on narrower screens.

It's implemented by wrapping a span with a class of "not-narrow-friendly" around the words that should be hidden at narrow widths, then using media queries to hide them.



I like how you also did that with the dates (e.g. "Friday" goes to "Fri")

Unsolicited feedback: At the narrower widths, the sidebar (.secondary) would be better off falling after the main content (.primary) It might also work having "Filter by topic" turned into a drop down.


How would you handle internationalisation with that approach?


Not something we're worrying about for the moment - the advice we got from people who had done it was "don't do it until you have a much larger team".


Presumably by telling non-English speakers to go piss up a rope.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: