/* * Daniel O'Connell's Sons * Common JS functions * Author: TJ Kelly - www.tjkelly.com */ $(window).load(function(){ $('#feature').innerfade({ animationtype:'fade', // Type of animation 'fade' or 'slide' (Default: 'fade') speed:'normal', // Fading-/Sliding-Speed in milliseconds or keywords (slow, normal or fast. Default: 'normal') timeout:'6500', // timeout: Time between the fades in milliseconds (Default: '2000'), type:'sequence', // type: Type of slideshow: 'sequence', 'random' or 'random_start' (Default: 'sequence') containerheight:'360', // containerheight: Height of the containing element in any css-height-value (Default: 'auto'), runningclass:'innerfade', // runningclass: CSS-Class which the container get’s applied (Default: 'innerfade') children:'' // children: optional children selector (Default: null) }); });