djfenom
asked on
Read more/less link
Hello,
I've got a div with text in it, but only the first paragraph displays and then a read more link appears, once this is clicked the remaining text appears and a read less link is then placed at the end.
This works fine, however the code I've been using doesn't cater for a ul list that I have inside the div, so the list isn't hiding/showing as appropriate. It should be hidden to start with and then show when read more is clicked and then the read less should appear at the end of the list.
Please see below:
http://jsfiddle.net/6N5xz/ 2/
Thanks,
Chris
I've got a div with text in it, but only the first paragraph displays and then a read more link appears, once this is clicked the remaining text appears and a read less link is then placed at the end.
This works fine, however the code I've been using doesn't cater for a ul list that I have inside the div, so the list isn't hiding/showing as appropriate. It should be hidden to start with and then show when read more is clicked and then the read less should appear at the end of the list.
Please see below:
http://jsfiddle.net/6N5xz/
Thanks,
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER