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.

Tying a Select Tag to Some Images

  • # August 28, 2008 at 7:04 pm

    Hi all. Here’s what I want to do, but I am having a brain cramp doing it.

    I’m working on store that sells floor signs and in the cart area, I want the user to be able to pick a sign label and see the image pop up next to them. Then I’ll let them do this over and over in the cart so they can order signs with different labels.

    I tried the jQuery plugin Cycle and got Cycle to work with Prev/Next, but it’s not exactly what I want because I want them to pick a textual label which corresponds to the visual label (see example 1). Then I tried to tie in the select tag and it got worse (see example 2).

    Anyone have any Cycle experience? Anyone have a better way to do this? Thanks in advance!


Viewing 1 post (of 1 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