Page 1 of 1

how to make a dynamic table matrix

Posted: Wed May 17, 2006 8:54 am
by isaac_cm
I saw some sites use a table marix of sizes and colors for cloths see the following grid:

http://www.boden.co.uk/col.asp?styid=AR ... id=18&gen=

it seems very complicated is there any resource on how to do that and same way I give the admin of the site to change the sizes and colors at any time and the table changed dynamically ?

thanks alot for every effort

Posted: Wed May 17, 2006 10:27 am
by shiznatix
its done in javascript and is not very complicated on all.

just look at stuff like onmouseover() and write a small function that changes the image based on what button you rolled over. this is client side stuff though, not php ;)

Posted: Wed May 17, 2006 12:53 pm
by isaac_cm
there is no problem on rollover images but how to create the table matrix dimensions dynamically based on a database table