View Single Post
Old 06-25-2009, 09:04 AM   #4 (permalink)
Costin Trifan
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
if you want to hide/show the content then you should only hide/show the table tag and not the whole div, because this could help you add an event listener to that div so you can click on that div to toggle the table's visibility.

#1: search for a javascript function that will help you get a list of elements by class (if I remember correctly Dustin Diaz had published an article with a lot of useful functions)

#2: add the css class again to your div, this will help you select them

#3: create the toggle function

#4: or you can just use jquery or any other library you know how to use

__________________
...to be continued
Costin Trifan is offline   Reply With Quote