Image stacking script

by coog
2 replies
I've been tasked with building a page that a user can change colors and options of a building similar to this:

Lancaster County Barns - Custom Colors

The JS on this page is pretty easy to follow and I'm pretty sure I can do something very similar but I'm no JS programmer and would like to put something together that's a little nicer.

Anyone seen a jquery or php script (or similar) that does image stacking or dynamic image changes that I could mold into something similar to the above link?

Thanks!
#image #script #stacking
  • Profile picture of the author LessThanWeb
    The above thing is very easy. Its just a bunch of transparent SAME sized images with an CSS order set (z-index). So when you click to change window color, only in that div, the image is changed.

    I recommend JQuery for this. It's really just a matter of changing DIV content (html).
    With JQuery you can change content of a div simply by:
    $('#divIDhere').html('new html content');
    And that's it.

    More complicated is the graphic part as you have to cut out each thing..
    {{ DiscussionBoard.errors[1140808].message }}
  • Profile picture of the author coog
    Thanks LessThanWeb, I knew the graphics would be a PIA. I'll study up on jquery scripting and give it a go...

    Thanks!
    {{ DiscussionBoard.errors[1142332].message }}

Trending Topics