House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Word Wrap

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jim McAtee
06/28/2001 07:12 PM

First, I'm getting zilch from the list, so please email your replies directly to me. I'm looking for a good (fast) word wrap tag.  I've tried out cf_wordwrap from the tag gallery, but it doesn't work very well.  I need the tag to preserve any carriage returns and line feeds contained within the body of text, so that short lines and paragraph breaks are preserved.  Another bug within that tag is that it wraps one character short of the desired line length. Thanks, Jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
cf coder
09/17/2004 10:38 AM

I'm trying to word wrap some text. I don't if there is a client side tag that does this for you. Can someone please point me to the right direction Best regards, cfcoder

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damien McKenna
09/17/2004 10:42 AM

cf coder wrote: >I'm trying to word wrap some text. I don't if there is a client side tag that does this for you. Can someone please point me to the right direction >   > What sort of word-wrapping do you need? -- *Damien McKenna* - Web Developer - dmckenna@thelimucompany.com <mailto:dmckenna@thelimucompany.com> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 "Nothing endures but change." - Heraclitus

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
cf coder
09/17/2004 11:00 AM

hi! I'm just displaying comments/text on the browser window. I have a table <table> <tr>   <td colspan="6">   Comments   </td> </tr> <tr>    <td colspan="6">   #COMMENTS#        </td> </tr> </table> The information is displayed on a pop-up modal dialog box. This is how I call it. var mouseX = clicked.screenX; var mouseY = clicked.screenY ; var numheight = screen.height; var numwidth = screen.width; var sHeight = numheight + 'px'; var sWidth = numwidth + 'px'; if (mouseX > numwidth) {var sXPos = (mouseX - numwidth)+'px';} else {var sXPos = mouseX; } if (mouseY > numheight) {var sYPos = mouseY +'px';} else {var sYPos = mouseY; } var features = "resizable: yes; help: no; status: no; scroll: yes; dialogHeight:" + sHeight +"; dialogWidth:" + sWidth + "; dialogLeft:" + sXPos + "; dialogTop:"+ sYPos + "; " showModalDialog('printthis.cfm?jobNo=1' , features); I'm permitting page scrolling; if I view a job with really lengthy comments, since the width and height of the pop-up window is the size of the monitor, with the windows taskbar set to "dispaly on top of other windows", I can't see the the horizontal scroller. If word-wrapping is a big ask, can you suggest me how to display the horizontal bar just above the windows task bar? I hope I'm making sense. Regards, cfcoder ----- Excess quoted text cut - see Original Post for more ----- Heraclitus

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Joe Rinehart
09/17/2004 10:48 AM

Your browser should wrap text for you?  Not too sure what you mean? I'm trying to word wrap some text. I don't if there is a client side tag that does this for you. Can someone please point me to the right direction Best regards, cfcoder________________________________


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference