view the tutorial How to switch to a slideshow view via a simple click using jQuery @ burnmind.com