Forums / Setting Up Categories, Products, Attributes / How to make a frame that changes in color as options for art/paintings

How to make a frame that changes in color as options for art/paintings

Locked

Views: 1,590

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Aug 2006, 3:54 AM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

How to make a frame that changes in color as options for art/paintings

Hi,

I like to know if anyone has done this or know how to do or any other help regarding following.

I need to sell online art/prints. I like to offer an option where user can select a colour to change the surrounding the print art/image as an option. This option need not to be part of the selection criteria but only to give an idea of its suitability of an artwork for their decor.

Thanks

Downunder QLD

24 Aug 2006, 1:57 PM
#2
groowine avatar

groowine

New Zenner

Join Date:
Aug 2005
Posts:
42
Plugin Contributions:
0

Re: How to make a frame that changes in color as options for art/paintings

maybe using javascript, this could be accomplished?

good luck!

Absinthe Shop in Brazil

25 Aug 2006, 4:34 PM
#3
mmaxwell avatar

mmaxwell

New Zenner

Join Date:
Mar 2004
Location:
Eugene Oregon
Posts:
13
Plugin Contributions:
2

Re: How to make a frame that changes in color as options for art/paintings

It's nothing fancy but it may be something you can work with. Cell 1 can display your image and cell 2 can hold text or images that will change the background color of cell 1 when you hover your mouse over them.

<table>
 <tr>
  <td id="image">
   test
  </td>
  <td>
   <a onmouseover="document.getElementById('image').style.backgroundColor = 'ff0000';">
   Red</a><br>
   <a onmouseover="document.getElementById('image').style.backgroundColor = 'ffff00';">
   Yellow</a></br>
   <a onmouseover="document.getElementById('image').style.backgroundColor = '000000';">
   Black</a>
  </td>
 </tr>
</table>
25 Aug 2006, 9:54 PM
#4
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to make a frame that changes in color as options for art/paintings

Thanks

Only problem is it is not working in Firefox. Is there fix for that?

Cheers

Downunder QLD

26 Aug 2006, 2:22 AM
#5
mmaxwell avatar

mmaxwell

New Zenner

Join Date:
Mar 2004
Location:
Eugene Oregon
Posts:
13
Plugin Contributions:
2

Re: How to make a frame that changes in color as options for art/paintings

oavs:

Thanks

Only problem is it is not working in Firefox. Is there fix for that?

Cheers

Try this one.

<table>
 <tr>
  <td id="image">
   test
  </td>
  <td>
   <a onMouseOver="document.getElementById('image').style.backgroundColor = '#ff0000';">
   Red</a></br>
   <a onMouseOver="document.getElementById('image').style.backgroundColor = '#ffff00';">
   Yellow</a></br>
   <a onMouseOver="document.getElementById('image').style.backgroundColor = '#000000';">
   Black</a>
  </td>
 </tr>
</table>