Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: any dreamweaver geniuses out there?
Hammerhead

posted on 8/7/08 at 12:09 PM Reply With Quote
any dreamweaver geniuses out there?

I am trying to make a website and having problems with a section.
I want to be able to change the colour of parts of an image like the westfield colour changer.

http://www.westfield-world.com/colourchanger.html

Can anyone give me some pointers, or what I need to search for on google.

Cheers.
Steve.






View User's Profile Visit User's Homepage View All Posts By User U2U Member
tegwin

posted on 8/7/08 at 12:16 PM Reply With Quote
Hmm....

You could layer some Divs with different coloured images inside them and use Javascript to change the Z-index of the divs...thus showing you different colours....

I believe Morgan motors have a much more hightech solution..

Uses flash and javascript to allow you to select any colour under the sun...





------------------------------------------------------------------------------------------------------------------------
Would the last person who leaves the country please switch off the lights and close the door!

www.verticalhorizonsmedia.tv

View User's Profile Visit User's Homepage View All Posts By User U2U Member
vinny1275

posted on 8/7/08 at 12:16 PM Reply With Quote
It looks like they've used layers on an image map to set up the changer.

The body is one layer which is below the others (z-index is 1, the others are all two).

When you change the colour of one item, it uses some javascript to replace one image in the layer with another.

So, I'd google for image map, div (layers) and javascript image swap....

HTH


vince






View User's Profile View All Posts By User U2U Member
Hammerhead

posted on 8/7/08 at 12:20 PM Reply With Quote
quote:
Originally posted by vinny1275
It looks like they've used layers on an image map to set up the changer.

The body is one layer which is below the others (z-index is 1, the others are all two).

When you change the colour of one item, it uses some javascript to replace one image in the layer with another.

So, I'd google for image map, div (layers) and javascript image swap....

HTH


vince


I'll try and google all that thanks

Forgot to add that I'm quite new to making my own websites, and that I want to keep with html rather than flash at this stage.






View User's Profile Visit User's Homepage View All Posts By User U2U Member
tegwin

posted on 8/7/08 at 12:30 PM Reply With Quote
You wont just be able to do it with plain HTML.

You will need some javascript...

but if you google it I am sure I have seen some changeover scripts before





------------------------------------------------------------------------------------------------------------------------
Would the last person who leaves the country please switch off the lights and close the door!

www.verticalhorizonsmedia.tv

View User's Profile Visit User's Homepage View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.