Domanda

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 ?

È stato utile?

Soluzione

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

Altri suggerimenti

You can put a div containing related information and keep its display as none. On click of that particular test, just use toggle() for that corresponding div.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top