Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Line Wrap with UD4 - ASP or JavaScript?

Posted 20 Jun 2002 10:06:38
1
has voted
20 Jun 2002 10:06:38 gordon knapp posted:
If you have a forum such as this, the occasional little &$~~@* comes along and inserts a row of characters without hitting the enter key like this
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg

This normally forces the table to scroll off to the right and the end result looks 'orrible!

So .... does anyone know of a UD Extension or lump of ASP or JavaScript code that will take a long unbroken line and auto wrap it at, say, 150 characters?

Yes, I have tried the Line Wrapper code on the JavaScript Resources site, but I have yet to get it to work when posting info to the database.
Thanks in advance...
Cheers
G

Reply to this topic