TheDarkBear
04-29-2005, 08:49 AM
I asked one of my friends if he could help me, but all he had to offer was it sounds like it could involve a javascript solution, so here I am...
I was wondering if anyone would be able to assist me in a problem I have. Say, for example, there is a web page with two frames, split down the middle. On the left frame, there is a table. In this table, are many smaller tables. Like, in the main table, on every different row, there is another table, with a word in it.
When you click on the smaller tables with the words in it; it changes the right-hand frame to display a description of this word.
What I can do is make it when you click on the table it changes the border colour, say the default is white, to a different colour, say red. This can happen for every single one of the smaller tables.
What I can't do however is make it so that only one of the smaller tables can be 'selected' at one time. For example, if you click the first table at the top, Table A, it changes the border colour from white to be red. Then you click the second table from the top, Table B. Its border colour changes from red to white, and Table A changes back from red to white.
Any ideas?
I was wondering if anyone would be able to assist me in a problem I have. Say, for example, there is a web page with two frames, split down the middle. On the left frame, there is a table. In this table, are many smaller tables. Like, in the main table, on every different row, there is another table, with a word in it.
When you click on the smaller tables with the words in it; it changes the right-hand frame to display a description of this word.
What I can do is make it when you click on the table it changes the border colour, say the default is white, to a different colour, say red. This can happen for every single one of the smaller tables.
What I can't do however is make it so that only one of the smaller tables can be 'selected' at one time. For example, if you click the first table at the top, Table A, it changes the border colour from white to be red. Then you click the second table from the top, Table B. Its border colour changes from red to white, and Table A changes back from red to white.
Any ideas?