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

Recreating a small web app using CSS and JS

  • # February 12, 2014 at 7:36 am

    I am trying to recreate the option selection system of this page.

    It currently uses a lot of PHP and I need to simplify the system.

    I’ve looked for about 2 hours everywhere I can, and cannot find a solution.
    I am wanting it to be pure CSS, but I know that is likely impossible. I am willing to use some jQuery to get this accomplished.

    I got this script to work for me. However, I realized it will not let me select the two different options independently.

    If you know of a snippet that I can adapt please send it my way.

    Thank you.

    # February 16, 2014 at 12:48 am

    This reply has been reported for inappropriate content.

    Here is a CodePen example: I have used CSS rather than images, but the same approach can be used with images by selecting the appropriate image in the jQuery.

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