From: Antony C. <an...@sm...> - 2006-06-22 10:24:40
|
The title of the resource will still appear in full at the top of the resource page, this is just truncation for navigation div - the method could truncate at a reasonably logical place I guess! On 22 Jun 2006, at 11:15, Matthew Buckett wrote: > Antony Corfield wrote: >> How about a much simpler approach?!! Just add a method 'public static >> String trimText(String text, int maxLength)' to >> org.bodington.util.TextUtils and use that whenever there's a limited >> space for displaying text? Could always use title attribute in link to >> display full text. As I said we've also removed search and links from >> the navigation div so we have more space to play with. > > If we are going to truncate peoples titles we should decide where we > normally truncate and tell people so that they can try and have shorter > titles so they are aware where it would be truncated. > > 30 characters? > > Even in our default install we have titles of 50+ characters ( User > Administration for System Administration zone. ). > > I don't think actually limiting people to only 30 characters is > sensible. > > -- > -- Matthew Buckett, VLE Developer > -- Learning Technologies Group, Oxford University Computing Services > -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |