demon_athens Posted April 19, 2007 Share Posted April 19, 2007 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 More sharing options...
markduce Posted April 19, 2007 Share Posted April 19, 2007 You would certainly have to use javascript for that I would think Here's a little tutorial that you might find useful... http://support.internetconnection.net/CODE_LIBRARY/Javascript_Show_Hide.shtml Link to comment https://forums.phpfreaks.com/topic/47714-showhide-portion-of-text/#findComment-233026 Share on other sites More sharing options...
demon_athens Posted April 19, 2007 Author Share Posted April 19, 2007 Thank you very much markduce, I'll read it carefully, seems that will do my thing Link to comment https://forums.phpfreaks.com/topic/47714-showhide-portion-of-text/#findComment-233036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.