lordvader Posted July 23, 2008 Share Posted July 23, 2008 Sometimes a blog post's comment will be too long. I want to enforce a maximum character limit, and if the comment exceeds this then it is presented with a slider so you can still read the whole comment, but the comment won't take up too much space. You know, like how your browser deals with long webpages. I don't think iframes are suitable here, so how could I do this? I don't need specifics, just the general concept and proper buzzwords. I can look it up myself. Thanks On re-reading this, I realize this is not necessarily a php question (although my site is written in php). Sorry about that. Link to comment https://forums.phpfreaks.com/topic/116310-please-point-in-the-right-direction-regarding-comment-text-in-a-blog/ Share on other sites More sharing options...
.josh Posted July 23, 2008 Share Posted July 23, 2008 Are you wanting like a textarea with a set height like so? <textarea height = '2' width = '20'> asdflkjsafd asdflkjsdflkj asdflkjsfdl sdflkjsadflkj </textarea> Link to comment https://forums.phpfreaks.com/topic/116310-please-point-in-the-right-direction-regarding-comment-text-in-a-blog/#findComment-598098 Share on other sites More sharing options...
lordvader Posted July 24, 2008 Author Share Posted July 24, 2008 That's really close - however the formatting shows up along with the text - stuff like line breaks, new paragraph symbol, etc. Is there a way to do this while allowing the html to render? Thanks Link to comment https://forums.phpfreaks.com/topic/116310-please-point-in-the-right-direction-regarding-comment-text-in-a-blog/#findComment-598147 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.