Browse Source

islandscholar formatting

2.x-ebsco
Paul Pound 11 years ago
parent
commit
f3773763ad
  1. 8
      targets/islandscholar/css/roblib_search_islandscholar.css
  2. 8
      targets/islandscholar/js/islandscholar_results.js

8
targets/islandscholar/css/roblib_search_islandscholar.css

@ -6,16 +6,20 @@
Purpose of the stylesheet follows.
*/
.islandscholar-citation{
.islandscholar-citation, .islandscholar-author{
font-size: smaller;
}
.islandscholar-hostTitle{
font-size: smaller;
}
.islandscholar-author, .islandscholar-genre, .islandscholar-volume{
.islandscholar-genre, .islandscholar-volume{
padding-left: 10px; font-size: smaller;
}
.islandscholar-authors {
padding-left: 10px;
}
.islandscholar-label {
padding-left: 10px; font-size: smaller; font-weight: bolder;
}

8
targets/islandscholar/js/islandscholar_results.js

@ -31,12 +31,20 @@ Drupal.behaviors.roblib_search_islandscholar = {
jQuery.each(val.genre, function(key2, val2){
items.push('<span class="islandscholar-label">' + val2 + '</span> ')
})
try{
jQuery.each(val["mods.hostTitle"], function(key2, val2){
items.push('<span class="islandscholar-hostTitle">' + val2 + '</span> ')
})
} catch (err){
}
try{
jQuery.each(val.dateIssued, function(key2, val2){
items.push('<span class="islandscholar-citation">' + val2 + '</span> ')
})
} catch(err){
}
try{
jQuery.each(val["mods.volume"], function(key2, val2){

Loading…
Cancel
Save