Jump to content

Show/Hide portion of text


demon_athens

Recommended Posts

Hi there,

 

I want to have a webpage with some biographies. The bio's are stored in an mysql table and read from Php. The thing is that I am trying to do the usual show/hide more text link and I don't know where to post such a message! I don't want to leave the current page, I just want to have the first 5 lines of text,with a more option at the end that when clicked shows the rest of the text. This for every bio ( thats not a problem, a while loop will do it)

 

So what to use and how? Javascript? Css? I don't know so well those stuff so any help will be great. :(

Link to comment
https://forums.phpfreaks.com/topic/47714-showhide-portion-of-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.