expand/collapse table rows

Discussion in 'HTML & Website Design' started by l_kris06, Jun 4, 2008.

  1. #1
    Hi all,

    I have a table with a number of rows, these rows are dynamically fetched from the MySQL database. I want to add a expand/collapse functionality where in when i click on a row, it expands to give me further information. I have spent the last couple of hours trying to find the solution with no success. I would really appreicate if somebody could give me an example.

    Rgds,
    Kris
     
    l_kris06, Jun 4, 2008 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    Clive, Jun 4, 2008 IP
  3. l_kris06

    l_kris06 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    allrite i have acheived 90% of the task. however I need to change the default behavior of the page when it loads, rite now, when it loads, all the rows are expanded, however I want it to be collapsed. please help. heres the code.
     
    l_kris06, Jun 4, 2008 IP