are PHP collapsible panels possible ?

Discussion in 'PHP' started by zipper7, Mar 3, 2008.

  1. #1
    I do not know Javascript so..

    I would like to have a table like style, that when you hover or click, a panel will reveal itself with data. Like a Spry collapsible panel in Dream Weaver.

    I need it to repeat because the data will be dynamic from my database.

    The end use is that I see rows of data.... but when I hover or click, the detailed panel will drop down with more data and hyperlinks.

    also..i can't find my script for "inline" edit for an admin area. That would be nice too.

    Thanks in advance!
     
    zipper7, Mar 3, 2008 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Since php loads before any data is sent to the browser, you would have to use javascript, or Ajax if the data is being called dynamically.
     
    jestep, Mar 3, 2008 IP
  3. zipper7

    zipper7 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well i suppose I'll need to learn that then.

    Any simple scripts I could start with? I gotta learn sometime.

    In Dreamweaver there are the collapsible panels and spry repeat but I don't think you can do them together??? Ever seen anything like it before?
     
    zipper7, Mar 3, 2008 IP
  4. chanakya

    chanakya Peon

    Messages:
    361
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    For any server side respnse system you need to use ajax, from ajax you have to call php scripts
     
    chanakya, Mar 3, 2008 IP