NIHVIVO-1315: Added jQuery HTML Truncator for for showing "more"/"less" content with core:overview data property

This commit is contained in:
mb863 2011-01-24 21:21:09 +00:00
parent 6139bf24ef
commit 1343472ca0
3 changed files with 111 additions and 1 deletions

View file

@ -0,0 +1,8 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
$(document).ready(function(){
// "more"/"less" HTML truncator for showing more or less content in data property core:overview
$('.individual-overview').truncate({max_length: 500});
});