snippets/SerialScroll_hide-arrows.js
function( e, elem, $pane, $items, pos ){
			$prev.add($next).show();
			if( pos == 0 )
				$prev.hide();
			else if( pos == $items.length-1 )
				$next.hide();
		}
function( e, elem, $pane, $items, pos ){
			$prev.add($next).show();
			if( pos == 0 )
				$prev.hide();
			else if( pos == $items.length-1 )
				$next.hide();
		}
function ( e , elem , $pane , $items , pos ) { $prev . add ( $next ) . show ( ) ; if ( pos == 0 ) $prev . hide ( ) ; else if ( pos == $items . length - 1 ) $next . hide ( ) ; }
you probably don't want this
you probably don t want this