';
+ id = 'roblib_cufts_results_' + counter;
+ content[counter] = "";
+ divs[counter] = id;
+ var item_str = '
';
item_str += '
';
-
- //item_str += '
ISSN: ';
- //jQuery.each(val.issns, function(key2, val2) {
- // var newIssn = "";
- // var issn = val2.toString();
- // if (issn.length == 8)
- // {
- // newIssn = issn.substr(0, 4) + '-' + issn.substr(4, 4);
- // }
- // else
- // {
- // newIssn = issn;
- // }
- // item_str += newIssn + ',';
- //});
- //item_str += '
';
-
- //item_str += '
';
-
- //jQuery.each(val.fulltext_coverages, function(key3, val3) {
- // item_str += val3 + " ";
- //});
-
- //item_str += '
';
-
+ jQuery.each(val.fulltext_coverages, function(key3, val3) {
+ if(typeof val3 !== 'undefined' && val3 != null ){
+ content[counter] += '
' + val3 + "
";
+ }
+ });
+ counter++;
item_str += '
';
items.push(item_str);
-
-
});
+ jQuery('#' + 'roblib-search-content-cufts').empty().append(items.join(''));
+ qtipify(divs, content, 'Coverage');
}
var originURL = settings.roblib_search_cufts.url;
var originSuffix = settings.roblib_search_cufts.suffix;
var newSuffix = originSuffix.replace("&format=json", "");
if (parseInt(data.numOfResults) > 0)
{
- jQuery('#' + 'roblib-search-content-cufts').empty().append(items.join(''));
jQuery('#' + 'roblib-search-cufts-more').empty().append('