Image Swap Problems

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jul 2005
Posts: 4
Reputation: PRSop2000 is an unknown quantity at this point 
Solved Threads: 0
PRSop2000 PRSop2000 is offline Offline
Newbie Poster

Image Swap Problems

 
0
  #1
Jul 29th, 2005
I'm trying to make a website that has a block of about 56 colors off to the right of a main image of a dress. You click a color block and it changes the dress to the picture of the dress in the color clicked.

I cannot find any script anywhere that provides for this... is there an example of such a script that I can adapt for this use?

I'm a Javascript noob so any help would be appreciated.

Thanks!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Image Swap Problems

 
0
  #2
Jul 29th, 2005
Look at some of the code provided in thread:

http://www.daniweb.com/techtalkforums/thread29187.html

That shows how to RANDOMLY or SEQUENTIALLY alter images, but you should be able to adapt the code.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 4
Reputation: PRSop2000 is an unknown quantity at this point 
Solved Threads: 0
PRSop2000 PRSop2000 is offline Offline
Newbie Poster

Re: Image Swap Problems

 
0
  #3
Jul 29th, 2005
I know very little about Javascript... so little that I can't see how I would adapt anything in there for what I need... I'll look some more though.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 4
Reputation: PRSop2000 is an unknown quantity at this point 
Solved Threads: 0
PRSop2000 PRSop2000 is offline Offline
Newbie Poster

Re: Image Swap Problems

 
0
  #4
Jul 29th, 2005
I can be reached on AIM if anyone wishes to talk in real time

ScreenName == my name here.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 4
Reputation: PRSop2000 is an unknown quantity at this point 
Solved Threads: 0
PRSop2000 PRSop2000 is offline Offline
Newbie Poster

Re: Image Swap Problems

 
0
  #5
Jul 29th, 2005
the page in question is at http://jamesmeister.com/1914/

the boxes should link to other images... like the red swatch should make the main image turn into 1914_clr.jpg
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: Image Swap Problems

 
0
  #6
Jun 8th, 2006
If you have dreamweaver (and still haven't found an answer). Give the image you wish to change a instance name (such as dress). Then click on the coloured box and select windows>behaviour panel. In this click on the plus sign and click swap image. This will bring up a long list of images, choose the one that says "dress" (the instance name of the image you want to change). Then browse for the image you want to display there instead. Also make sure you have swap image restore selected in this dialog box.

Once you have done that when you rollover that colour the dress will change image.

Good Luck
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 1
Reputation: vickies is an unknown quantity at this point 
Solved Threads: 0
vickies vickies is offline Offline
Newbie Poster

Re: Image Swap Problems

 
0
  #7
Apr 20th, 2007
Roryt,

Thank you sooo much for this important piece of information. I had been searching the web for a while with no luck for this exact info. Dreamweaver's Help was also lacking. I often found tidbits of info but not enough to get the effect I wanted. I even found someone on the web who stated that it was not possible to do this in Dreamweaver.

Thanks to you I was able to get my photographer's website structured the way I had envisioned it.

Again, Grateful that you know your stuff and share it with others,
Vickie
www.mikephotography.com

Originally Posted by roryt View Post
If you have dreamweaver (and still haven't found an answer). Give the image you wish to change a instance name (such as dress). Then click on the coloured box and select windows>behaviour panel. In this click on the plus sign and click swap image. This will bring up a long list of images, choose the one that says "dress" (the instance name of the image you want to change). Then browse for the image you want to display there instead. Also make sure you have swap image restore selected in this dialog box.

Once you have done that when you rollover that colour the dress will change image.

Good Luck
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC