Jump to content

Selecting an image...


Gamerz

Recommended Posts

Hello,

You know how the

<select name="name">
<option>TEXTHERE</option>

works right?

 

Okay..so instead of the TEXTHERE, I want to display an image for people to select, NOT a link. When clicked, the image will be selected and highlighted to show that it is selected.

 

I also want to lose the dropdown menu...so it will just be several images that I display without the dropdown menu. How would I do this?

Link to comment
Share on other sites

What Thorpe said.

 

Although you will have to either add some type of form input to indicate that the image has been selected. I would add a little checkbox beside each image. If you want to add some javascript overtop to make it fancy, then you can hide the checkboxes with javascript, and when an image is clicked on, have the javascript add the check to the hidden checkbox.

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.