Adobe Dreamweaver Forums



Last 10 THreads :         cfdocument printing issues: cf7 vs cf8 (Last Post : k43 - Replies : 0 - Views : 1 )           »          Change dreamweaver Libary folder to new location (Last Post : TristanFerrer - Replies : 0 - Views : 1 )           »          css for partial page border? (Last Post : sohara - Replies : 4 - Views : 5 )           »          Update Website Content by my client ? ? (Last Post : Nancy O - Replies : 1 - Views : 2 )           »          Library documents do not accept SWF objects (Last Post : micdim1 - Replies : 0 - Views : 1 )           »          JavaScript to enable submit button (Last Post : Gary White - Replies : 7 - Views : 8 )           »          Background Image (Last Post : Nancy O - Replies : 6 - Views : 7 )           »          Restore default TOC contents (Last Post : perruptor - Replies : 1 - Views : 2 )           »          what player do i need for xp home to watch news video'sect (Last Post : Julian Ball - Replies : 1 - Views : 2 )           »          style sheet question (Last Post : chopTheWood - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Fireworks
 
Tags:



Reply
  #1 (permalink)  
Old 10-31-2008, 06:16 PM
basecolor
 
Posts: n/a
Diggs:
Default layered image swaps??

Does anyone know how to layer image swaps? Like if I had a shoe in the middle
of my web page and a colors menu on the right, how would I layer the different
sections of the shoe like laces, upper, tread and such to be displayed
simultaneously without the image swap onclick behavior clearing the previous
selection so that I can see all parts of the shoe together in one cell? Sounds
confusing and I've been destroying my brain today trying to figure this out.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-31-2008, 06:16 PM
pixlor
 
Posts: n/a
Diggs:
Default Re: layered image swaps??

[q]Originally posted by: basecolor
Does anyone know how to layer image swaps? Like if I had a shoe in the middle
of my web page and a colors menu on the right, how would I layer the different
sections of the shoe like laces, upper, tread and such to be displayed
simultaneously without the image swap onclick behavior clearing the previous
selection so that I can see all parts of the shoe together in one cell? Sounds
confusing and I've been destroying my brain today trying to figure this out.[/q]

What you want is for your visitors to customize a shoe (or other object)? For
instance, you might have three different colors of laces and tread and two
different upper colors?

You can't layer an image swap without using some complex layers and DHTML. I
think that would get messy, plus you'd have to test it extensively in multiple
browsers, to make sure stuff lines up perfectly.

I think your two best approaches are
1) use Flash or
2) make a different image for every possible variation and then write some
custom JavaScript code to keep track of the three variables (lace, upper, and
tread) and present the new, appropriate, image whenever one of the values
changes.

But it isn't a simple image swap problem, so quit trying to destroy your
brain. :tounge;

Reply With Quote
  #3 (permalink)  
Old 10-31-2008, 06:16 PM
basecolor
 
Posts: n/a
Diggs:
Default Re: layered image swaps??

That's the problem I've run into. I've got lines and lines of code here lol
that doesn't want to work properly. So far I've gotten as far as 8 layers deep
using <div>'s but everytime I hit the button to change another layer it wipes
the previous selection. My JS skills aren't that great so I've been in teach
myself mode for the last couple of days. So far I have ~ 270 lines of code and
thats only 2 layers...the upper and the base color. Each layer has 11 colors to
swap and with 8 layers you can imagine the mess I'm looking at. I don't have
Flash installed so I was trying to use dynamic code and JS till I ran across
Fireworks. I think I can make it work if I redo the art and use pieces of
vectors instead of rasterized .gif's

Thanks for the reply. Wish me luck.

Reply With Quote


  #4 (permalink)  
Old 10-31-2008, 06:16 PM
pixlor
 
Posts: n/a
Diggs:
Default Re: layered image swaps??

Good luck!

I have
http://www.amazon.com/Designing-Java.../dp/1565923006
/ref=sr_1_2?ie=UTF8&s=books&qid=1221866572&sr=8-2 (Amazon link), which is a
really nice book for learning from. Gotta love those books where the author
isn't out of high school yet. There is a
http://www.amazon.com/Designing-Java...92360X/ref=pd_
bbs_sr_1?ie=UTF8&s=books&qid=1221866572&sr=8-1, which is probably more
up-to-date, but I haven't looked at it, so I don't know anything about it.

Anyway, it covers the use of arrays (which is what you need to track your
values) and hand-coding an image substitution. It isn't a language reference,
but is is a great teaching book.



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk