0
I need a help, I have a web page with two tables, a table has 5 divs with images inside it, already predefined images, when clicking on any of these images change the background of the other table. How can I do this using PHP, HTML and JS.
Someone has a tutorial, experimental code, anything that can help me carry out this operation, I thank you in advance.
CODE:
<td height="351" valign="top" align="center">
   <div class="fundo"> </div>
   <div class="fundo"> </div>
   <div class="fundo"> </div>
   <div class="fundo"> </div>
   <div class="fundo"> </div> 
</td> 
CSS:
.fundo {
   font-size: 1em; 
   text-align: center; 
   line-height: 40px; 
   height: 52px; 
   width: 52px; 
   margin: 4px; 
   margin-left:32px; 
   border: 2px solid black; 
   float: left; 
   padding: 2px;
 }

You can put the HTML code you have?
– Sergio
Jessica: click on [Edit] and put this in the question, rather than(s)
<table>complete(s)– Sergio
It is only a table with 5 Divs equal to the image, with a class with the Divs style, and an empty table, only to receive the color.
– Jessica Norbach