shyne
03-18-2007, 10:59 PM
Hi
I wanted to know if someone knows any script that will truncate a users comment to maximum 300 words and then when you click on "read more" it will show the whole comment and when you click again it will bring it back to 300 words. Like lets say a truncate function combined with a toggle +/-.
Below is the URL to my demo truncate function but that only works once like you click on "Read more" and it will show the whole comment but then you cannot switch back to 300 words. Also I want so when you click on one comment to read more, any other comment you have clicked will close it back to 300 words.
http://www.desi-fun.com/demo.html
Hope you understand.
Thanks alot
I wanted to know if someone knows any script that will truncate a users comment to maximum 300 words and then when you click on "read more" it will show the whole comment and when you click again it will bring it back to 300 words. Like lets say a truncate function combined with a toggle +/-.
Below is the URL to my demo truncate function but that only works once like you click on "Read more" and it will show the whole comment but then you cannot switch back to 300 words. Also I want so when you click on one comment to read more, any other comment you have clicked will close it back to 300 words.
http://www.desi-fun.com/demo.html
Hope you understand.
Thanks alot