SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2009
    Location
    Byron Bay, NSW, Australia
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help me hash out this project please

    So I have create something simliar to this using HTML, CSS, JS/JQUERY. I've sussed out pretty much everything using css class switching and the likes. However I'm not sure how to approach the garment colouring. Different parts of the garment can have different colours applied.

    Having said that I was wondering if any of you have ideas of how you'd approach this problem?
    Can I somehow overlay colours on the garment image giving is coordinates?
    Or do I perhaps create and overlay a png file the same size of the garment with colouring applied only to the chosen area with the rest of the png file transparent?

    Ideas, links, suggestions all appreciated.


    idea.jpg
    Madproject - I'm an amateur...
    What I learn from day to day

  2. #2
    SitePoint Addict MrBaseball34's Avatar
    Join Date
    Sep 2002
    Location
    Round Rock, Texas
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In essence, I would create a PNG with trapsnarent areas and make the background behind it the color the user chooses. Or you can make an image with each color combination and then switch them according the the user choice.
    MrBaseball34
    Hook'Em Horns!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •