/** * Galleria (http://monc.se/kitchen) * * Galleria is a javascript image gallery written in jQuery. * It loads the images one by one from an unordered list and displays thumbnails when each image is loaded. * It will create thumbnails for you if you choose so, scaled or unscaled, * centered and cropped inside a fixed thumbnail box defined by CSS. * * The core of Galleria lies in it's smart preloading behaviour, snappiness and the fresh absence * of obtrusive design elements. Use it as a foundation for your custom styled image gallery. * * MAJOR CHANGES v.FROM 0.9 * Galleria now features a useful history extension, enabling back button and bookmarking for each image. * The main image is no longer stored inside each list item, instead it is placed inside a container * onImage and onThumb functions lets you customize the behaviours of the images on the site * * Tested in Safari 3, Firefox 2, MSIE 6, MSIE 7, Opera 9 * * Version 1.0 * Februari 21, 2008 * * Copyright (c) 2008 David Hellsing (http://monc.se) * Licensed under the GPL licenses. * http://www.gnu.org/licenses/gpl.txt **/ ;(function($){ var $$; /** * * @desc Convert images from a simple html