Examples of how you can alter the behaviour on the fly;
Effect: |
Toggle slideshow
Features
Choose effect, should the image slide in, or fade in?
Show fifth image by adding #ad-image-4 to the url, this takes
precedence over over settings.start_at_index
jQuery call returns gallery instances, which enables you to
change settings on the fly like the "Change to fade effect" link above
Keyboard arrows to move back and forth
Click on the edge of the big image to go to the next/previous
Images are preloaded, and if the aren't finished loading when
they are supposed to be displayed, a loading image will appear
Slideshow count down only begins when the image has loaded and is visible
Image title, can either be set in the title attribute, or in
elm.data('ad-title', 'My title here'). $.data takes precedence over
the title attribute
Image descriptions, can either be set in the longdesc attribute, or in
elm.data('ad-desc', 'My description here'). $.data takes precedence over
the longdesc attribute
Callbacks on different events that has access to the internal object,
which means that you can access all internal methods, etc
Takes the dimensions of the image container div and scales down images
that are larger than it
Image is positioned in the middle if it's smaller than the container div
Images that are larger than the container are scaled down to fit inside
the container
Permalink to a specific image, either by index or id
Browser compatibility
The script has currently been tested in Firefox 3/Win, Firefox 3.5/Mac, IE6+7+8+9/Win, Chrome 2/Win,
Safari 3/Win, Safari 4/Mac, Opera 9/Win, Opera 9/Mac. If you have seen it working correctly in some other browser,
or on some other platform, please let me know.
Browsershots »
When checked at browsershots.org Konqueror 4.2 and 3.5 on
Debian Testing behaved really strange. IE 5.5 on Windows 2000 seems to cause some Javascript error. I tested it
by setting the gallery to start at image 9, and made sure it displayed that image and that the thumbs scrolled
to thumb 9. So the test isn't exactly complete, since all features aren't tested.
Browsers where the plugin seems to work fine from browsershots are:
This project is now hosted on CodePlex (http://adgallery.codeplex.com/). Please
use the issue tracker and discussion board there to report any bugs or feature requests. Feel free to fork the project
and contribute.
Thanks to David Miles and Edward Gilbert for helping out catching bugs, and thanks to
Fredrik Nicol-Carlsson
for help with the visual/design elements, and for feature ideas.
Feedback, feature requests, bug reports
This project is now hosted on CodePlex (http://adgallery.codeplex.com/). Please
use the issue tracker and discussion board there to report any bugs or feature requests. Feel free to fork the project
and contribute.