PDA

View Full Version : Featured Image Zoomer (now w/Multi-Zoom) v2.2



jscheuer1
04-18-2013, 03:19 PM
Featured Image Zoomer (now w/Multi-Zoom) v2.2

This is an update to Featured Image Zoomer (now w/Multi-Zoom) v2.1 and adds to it:


First thumb (.firstthumb class) - that class added to a thumbnail link will make it the the first image in a multi-zoom group.
Highlighting of active and/or hover states (.activethumb class) added automatically to the current thumbnail link, style it and/or its pseudo :hover class via CSS if desired.
Optional persistence of multi-zoom thumbnails (persist: true) property - cookie will remember last active thumbnail in a multi-zoom group. Use optional (days: 10) property to set persist days, defaults to session only.


Fully annotated demo:

http://home.comcast.net/~jscheuer1/side/demos/multizoom/demoactivepersist.htm

The main script description HTML code of which could be a drop in replacement for the current demo page's as it simply adds to it.

The script itself is a drop in replacement for the current v2.1 script, since all additions are optional, no changes are required to use it, CSS and all other resource files unchanged. Highlighting accomplished, if desired, via on page stylesheet*, documented in the demo's Step 2 code block as well as in the demo's instruction section on Multi-Zooms. All other additions are likewise documented on the demo page, including where applicable, in the options table.


*Which of course could be made external or be incorporated into any existing external stylesheet for the page.

Beverleyh
04-18-2013, 05:38 PM
Nice work John. :)

Thanks for keeping us up-to-date with all the fab new script features and also for the clear and comprehensive setup instructions.