function toggleDetails( citationId, altShow, altHide ) {
  $( "#details_" + citationId ).slideToggle( 300,
    function() {
      resizeFrame();
    }
  );
  
  // toggle expand/hide image
  var image = document.getElementById( "toggle_" + citationId );
  
  if( image.alt == altShow ) {
    image.src = "/library/image/sakai/collapse.gif?panel=Main";
    image.alt = altHide;
  } else {
    image.src = "/library/image/sakai/expand.gif?panel=Main";
    image.alt = altShow;
  }
}
/*
 * Shows/hides details associated with a given search result.
 *
 * Params:
 *   citationId  id of the citation with details to show/hide
 *   altShow     text used to set the alt of the show toggle icon
 *   altHide     text used to set the alt of the hide toggle icon
 */
Shows/hides details associated with a given search result.
Params:
citationId  id of the citation with details to show/hide
altShow     text used to set the alt of the show toggle icon
altHide     text used to set the alt of the hide toggle icon
Shows / hides details associated with a given search result . Params : citationId id of the citation with details to show / hide altShow text used to set the alt of the show toggle icon altHide text used to set the alt of the hide toggle icon
function toggleDetails( citationId, altShow, altHide ) {
  $( "#details_" + citationId ).slideToggle( 300,
    function() {
      resizeFrame();
    }
  );
  var image = document.getElementById( "toggle_" + citationId );
  if( image.alt == altShow ) {
    image.src = "/library/image/sakai/collapse.gif?panel=Main";
    image.alt = altHide;
  } else {
    image.src = "/library/image/sakai/expand.gif?panel=Main";
    image.alt = altShow;
  }
}
function toggleDetails ( citationId , altShow , altHide ) { $ ( "#details_" + citationId ) . slideToggle ( 300 , function ( ) { resizeFrame ( ) ; } ) ; var image = document . getElementById ( "toggle_" + citationId ) ; if ( image . alt == altShow ) { image . src = "/library/image/sakai/collapse.gif?panel=Main" ; image . alt = altHide ; } else { image . src = "/library/image/sakai/expand.gif?panel=Main" ; image . alt = altShow ; } }
Shows/hides details associated with a given search result.
Shows / hides details associated with a given search result .
// toggle expand/hide image