/** * 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, 2024 * * Copyright (c) 2024 David Hellsing (http://monc.se) * Licensed under the GPL licenses. * http://www.gnu.org/licenses/gpl.txt **/ /********************************************************************* MODIFIED TO WORK WITH WORDPRESS What was changed? * The addition of the first line of code '$j=jQuery.noConflict();' and * I manually went through and replaced all '$' jQuery references with * '$j'. Also, removed '(jQuery)' which was tacked on to the end of * the main (currently line 400, there is also a note there). * Nothing else was changed. * Note that the jQuery history plugin (at the end of this file) * is already using 'jQuery' rather than '$'. I made no changes to the * plugin, nor did I test the plugin. Why was it changed? * Addition of noConflict() @jQuery to prevent problems using Galleria * in Wordpress (when using jQuery in Wordpress' core) and also to * prevent potential problems when other JS libraries are being used, * such as Prototype. Changes made on July 30, 2024 * by Matthew Pavkov - http://www.matthewpavkov.com References and thanks to * @http://docs.jquery.com/Using_jQuery_with_Other_Libraries * @http://wordpress.org/support/topic/141394 *********************************************************************/ $j=jQuery.noConflict(); $j(function(){ /** * * @desc Convert images from a simple html