Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7914535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:09:04+00:00 2026-06-03T14:09:04+00:00

I have a problem of finding the right function , or logic to resolve

  • 0

I have a problem of finding the right function , or logic to resolve this problem for adding layers to a div (transperant png).

This is a part of a “configurator” for potential products.

semi-working demo (shirt example) can be find here :

http://jsfiddle.net/obmerk99/9t4f4/16/

If I will use append() – like you can see it commented out in the code – it will append endlessly – how can i remove the previous option (from the same option group only)

1 – What is the right function to use here ?

2 – How can I make the “groups” division without resort into multiple dedicated divs (i will have 50-60 options..) – or in another scenario, how to create those automatically ?

3 – How to make it work for radio / checkboxes ??

EDIT I

Lame´s word explanation :

I have “groups” of options, all referring to the same product.
Each group “option” corresponds to a transparent png with the option´s image or respective part.

Foe example, if i configure a car, I will have a group of “wheels” options with images of different wheels, a Group of “windows” options with different windows , a Group of “color” options etc. etc…
In the end , they stack up and make the complete image – configured.
It is a bit like those sites making avatars, or cartoonish images where one can choose head, muctache, background, glassess, hair etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:09:06+00:00Added an answer on June 3, 2026 at 2:09 pm

    Maybe you can have a main image showing what never changes, on top of that have an image for each option, the images could be in the markup or added when the option is first selected.

    Here is a mod to the fiddle, I think its what you’re trying to achieve fiddle I added an overlay image and span for each option.

    EDIT:
    Automating the switch would be trivial, just give the display and information elements ids ending in the element that affects it
    E.g.

    <select id="optionX"> <img id="img-optionX"> <span id="desc-optionX">
    

    see fiddle

    I think you should use radio buttons(if you don’t want to use the select) instead of the check boxes because they can be grouped easily.

    see fiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I have some troubles. I'm finding a way to solve one problem.
I have a problem finding references to this subject and would appreciate some help.
I have tried finding an answer to this problem and in every post I
I have a problem finding the right wildcard pattern to extract parts of my
I have some trouble finding the right design solution for a problem of sharing
I have actually a small problem with file i/o and finding the right algorithm
I have this problem for homework that I am having a hard time finding
I have a problem finding elements in XPath that's contains a certain string ignoring
I have no problem finding all tags for an object and getting the count
I have trouble finding a solution for the following problem: I have a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.