AnythingSlider playground

Add, remove, adjust any or all options so you can see how it works.

HTML

<script src="http://css-tricks.github.com/AnythingSlider/js/jquery.anythingslider.js"></script>
<link rel="stylesheet" href="http://css-tricks.github.com/AnythingSlider/css/anythingslider.css">
<script src="http://css-tricks.github.com/AnythingSlider/js/jquery.easing.1.2.js"></script>
<script src="http://css-tricks.github.com/AnythingSlider/js/swfobject.js"></script>
<script src="http://css-tricks.github.com/AnythingSlider/js/jquery.anythingslider.fx.js"></script>
<script src="http://css-tricks.github.com/AnythingSlider/js/jquery.anythingslider.video.js"></script>
<div id="wrap">
    <ul id="slider">
        <li> <a href="http://placekitten.com/600/600" class="zoom">
            <img src="http://placekitten.com/300/200" alt="" />
        </a>

        </li>
        <li> <a href="http://placekitten.com/600/600" class="zoom">
            <img src="http://placekitten.com/300/200" alt="" />
        </a>

        </li>
        <li> <a href="http://placekitten.com/600/600" class="zoom">
            <img src="http://placekitten.com/300/200" alt="" />
        </a>

        </li>
        <li> <a href="http://placekitten.com/600/600" class="zoom">
            <img src="http://placekitten.com/300/200" alt="" />
        </a>

        </li>
    </ul>
</div>

CSS

/*** Set Slider dimensions here! Version 1.7+ ***/

/* added #slider li to make panels the same size in case "resizeContents" is false */
 ul#slider, ul#slider li {
    width: 300px;
    height: 200px;
    list-style: none;
}
#wrap {
    display: block;
    wudth: 350px;
    height: 220px;
}
.zoomWindow {
    z-index: 1000;
}
.zoomPad {
    position:relative;
    float:left;
    z-index:99;
    cursor:crosshair;
}
.zoomPreload {
    -moz-opacity:0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
    color: #333;
    font-size: 12px;
    font-family: Tahoma;
    text-decoration: none;
    border: 1px solid #CCC;
    background-color: white;
    padding: 8px;
    text-align:center;
    background-image: url(../images/zoomloader.gif);
    background-repeat: no-repeat;
    background-position: 43px 30px;
    z-index:110;
    width:90px;
    height:43px;
    position:absolute;
    top:0px;
    left:0px;
    * width:100px;
    * height:49px;
}
.zoomPup {
    overflow:hidden;
    background-color: #FFF;
    -moz-opacity:0.6;
    opacity: 0.6;
    filter: alpha(opacity=60);
    z-index:120;
    position:absolute;
    border:1px solid #CCC;
    z-index:101;
    cursor:crosshair;
}
.zoomOverlay {
    position:absolute;
    left:0px;
    top:0px;
    background:#FFF;
    /*opacity:0.5;*/
    z-index:5000;
    width:100%;
    height:100%;
    display:none;
    z-index:101;
}
.zoomWindow {
    position:absolute;
    left:110%;
    top:40px;
    background:#FFF;
    z-index:6000;
    height:auto;
    z-index:110;
}
.zoomWrapper {
    position:relative;
    border:1px solid #999;
    z-index:110;
}
.zoomWrapperTitle {
    display:block;
    background:#999;
    color:#FFF;
    height:18px;
    line-height:18px;
    width:100%;
    overflow:hidden;
    text-align:center;
    font-size:10px;
    position:absolute;
    top:0px;
    left:0px;
    z-index:120;
    -moz-opacity:0.6;
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.zoomWrapperImage {
    display:block;
   ...

JavaScript

$(function () {

    $('#slider').anythingSlider({

        onInitialized: function (e, slider) {
            $('li.panel:not(.cloned) a.zoom').jqzoom({
                zoomType: 'standard',
                zoomWidth: 200,
                zoomHeight: 200,
                positionAround: slider.$window,
                appendZoomTo: $('#wrap'),
                position: 'bottom',
                xOffset: 50,
                yOffset: 50,
                showEffect: 'fadein',
                hideEffect: 'fadeout'
            });
        }

    });

});

/*!
 * jQzoom Evolution Library v2.3  - Javascript Image magnifier
 * http://www.mind-projects.it
 *
 * Copyright 2011, Engineer Marco Renzi
 * Licensed under the BSD license.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the organization nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * Date: 16 Mar 2012 11:14:00
 */
(function ($) {
    //GLOBAL VARIABLES
    var isIE6 = ($.browser.msie && $.browser.version < 7);
    var body = $(document.body);
    var window = $(window);
    var jqzoompluging_disabled = false; //disabilita globalmente il plugin
    $.fn.jqzoom = function (options) {
        return this.each(function () {
            var node = this.nodeName.toLowerCase();
            if (node == 'a') {
                new jqzoom(this, options);
            }
        });
    };
    jqzoom =...