﻿
$(function() {
    // can use the following options
    // 'index', integer, is zero-based, is what item to start from, default 0
    // 'showTime', integer,  is how long to show an item in milliseconds, default 5000)
    // 'transitionTime', integer, is how long the fade takes in milliseconds, default 1000
    // 'doHoverPause', boolean, sets if pausing on mouse over is enabled or not, default true
    // 'maxZIndex', integer, is the z-index of the element being faded into view. The faded out is maxZIndex - 1, default 100
    // 'slideChange', function pointer, see bottom of page in section 1.1.2 changes for explanation
    // 'methods', empty object, see bottom of page in section 1.1.2 changes for explanation
    $("#loader").hide();
    var options = { 'index': 0, 'showTime': 4000, 'transitionTime': 1000, 'doHoverPause': false, 'maxZIndex': 100 };
    $('.dumbCrossFade .dumbItem').dumbCrossFade(options);
});
