|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Enhancing Readability with ASP
In a further effort to make users perfectly comfortable with our application, this article will explore two functions we can use to make text more readable for the user. We will examine how to neatly trim long strings without chopping words, how to redefine dates into a more human format.
Read the full article here: Enhancing Readability with ASP |
|
#2
|
|||
|
|||
|
Nice, with a little error!
Great functions, I love your articles :-)
Only the neatTrim function: Code:
strLong = " This string is too long! " strTrimmed = NeatTrim( strLong, 13 ) Response.Write "<span title='" & strLong & "'>" & strTrimmed & "</span>" It will show with the mouse over This string... So I have to place it like this and then it will work: Code:
strLong = " This string is too long! " strTrimmed = NeatTrim( strLong, 13 ) strLong = " This string is too long! " Response.Write "<span title='" & strLong & "'>" & strTrimmed & "</span>" Good luck Bjorn Version IE 6.0 |
![]() |
| Viewing: ASP Free Forums > Other > Development Articles > Article Discussion: Enhancing Readability with ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|