|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
setting a character limit...
on a side panel of my layout im displaying the most recent forum threads. However, when a thread is too long for that TD it messes with the whole layout. How can i make it so when one is over ten or so characters it is just finished with a "..."? ive seen it done before.
EXAMPLE: recetn froum tthreads -------------------- how do i do this w... |
|
#2
|
|||
|
|||
|
<cfif len( theText ) gt 10>
#left( theText, 10 )#... </cfif>
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
hot damn you are good
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > setting a character limit... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|