The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Toggle body width using buttons?

  • # January 2, 2013 at 6:45 am


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

    Here is an example:

    (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.

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