Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Is this CSS+JS sneaky and bad, or is it OK to ‘hide’ content this way? Re: Is this CSS+JS sneaky and bad, or is it OK to ‘hide’ content this way?

#126541
itsricky
Member

Wow thanks for the great response @joshuanhibbert – amazing!

yeah – this example is pretty scrappy, its a mockup I was using to explain a point at work. Im a designer and I guess this is ‘design code’ – certainly not production code by any means!

But that said – your advice there is spot on. Will take that on board.

The user experience comes from this page: [http://everguide.com.au/melbourne/event/2013-mar-10/future-music-festival-2013/](http://everguide.com.au/melbourne/event/2013-mar-10/future-music-festival-2013/http://everguide.com.au/melbourne/event/2013-mar-10/future-music-festival-2013/”)

And there is only the one event on the page. The show/hide toggle compresses a list of potentially up to 100 artists down to two lines on the left, and then the description from 1400 chars down to a few lines.

The main thing im after here in the design is that the nice box under the detail photograph is the same height, a consistent source of information for users, and a consistent experience.

The bodies of text added to the description textarea in the CMS vary widely, so this design aims to stamp down a really consistent frontend template that is reliable and anticipated by our browsing user base.

Thanks again!