All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Toggle body width using buttons?

  • # January 2, 2013 at 6:45 am

    Hello,

    Curious if anyone could suggest a simple jQuery method for toggling the body width by clicking buttons/links…thank you

    Here is an example:
    http://suprb.com/apps/gridalicious/

    (click the various buttons at the top)

    # January 2, 2013 at 6:57 am

    This reply has been reported for inappropriate content.

    Solved this…

    For anyone interested in something similar, the following fiddle can do the trick.

    http://jsfiddle.net/ZfHZV/61/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed