Search code examples
javascriptjqueryhtmltabular

Display content on click from table


I have a table which is 9 x 9 with each cell having a different option.

Is it possible to do this:

When one of the cells text is clicked, everything relating to that is shown under that cell.

For example the cell title is advertising and when its clicked it shows links to different advertisers.

Is there a better way of doing this ?


Solution

  • Have a look at this http://fiddle.jshell.net/QsWkB/ Hope that helps.