Dan, I'm a bit confused about what you're looking for, but it sounds like you want some code to truncate the character length of a certain field. I noticed that you tagged this question PHP -- it'd probably be better to handle it server-side. However, if you're set on using Jquery, there's probably an easy way to do it.
The key thing to figure out is, what pattern are you going to use to identify the field tags within the page (ie. what kind of jquery selector will you write to select the tags you want)? Once that's down, javascript's .slice() function will achieve what you want.
So here's an example. Based on the page you linked, I'm going to say we could select your field output by selecting any span tag that is a direct child of an anchor tag that is a direct child of a list item.
$('li > a > span')
Then from there we can grab the contents of the span, check the width, and truncate if we need to.
(untested, but gives the idea)
<script type="text/javascript">
var MAX_TITLE_LENGTH = 75;
// on page load...
$(function() {
truncateImageTitles();
});
function truncateImageTitles() {
$('li > a > span').each(
if (this.text().length > MAX_TITLE_LENGTH)
this.text(this.text().slice(0,MAX_TITLE_LENGTH));
);
}
</script>