There are a lot of slider pluglins in wordpress repository such http://wordpress.org/plugins/slide-show-pro/, just follow the install steps. then use the shortcodes like [slideshowpro cats=2,3]
or the code to integrate into php php echo do_shortcode('[slideshowpro cats=2,3]');
insert the code in header.php to show the slider on every single page or post