WEB Would anyone happen to know how to code collapsing text?

Discussion in 'OT Technology' started by Jay Pheezy, Sep 7, 2008.

  1. Jay Pheezy

    Jay Pheezy New Member

    Joined:
    Dec 31, 2005
    Messages:
    7,670
    Likes Received:
    0
    Location:
    MA
    I've been trying to figure it out after massive Googling but so far I have not.

    Here's an example of what I mean:

    After someone clicks "Read More" it would look like this:
    :x:
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,914
    Likes Received:
    8
    Location:
    Los Angeles
    jquery > you
     
  3. White Stormy

    White Stormy Take that, subspace!

    Joined:
    Sep 17, 2002
    Messages:
    85,486
    Likes Received:
    69
    Location:
    Sparkopolis
    if you can hardcode the summary/top half separate from the bottom half.. it's VERY easy. just stick the bottom half in a div with display: none;, then have the Read More run a javascript function that changes it to display: block; or something
     

Share This Page