$( document ) . ready ( 
  function() {
    $( 'pre' ).before( '<p align=right><a class="trigger" href="#">Show More..</a></p>' );
    $( 'pre' ).hide();
    $('a.trigger').toggle ( 
      function() {
        $(this).html('Hide More..');
        $(this.parentNode.nextSibling).slideDown('slow');
      },
      function() {
        $(this).html('Show More..');
        $(this.parentNode.nextSibling).slideUp('slow');
      }
    )
  }
)

