﻿SyntaxHighlighter.config.clipboardSwf = 'http://scripts.hohli.com/brush/clipboard.swf';
SyntaxHighlighter.all();

$(document).ready(function() {
    $('#MySlideshow').slideshow({
        width: 550,      // width in px
        height: 301,     // height in px
        index: 0,        // start from frame number N
        time: 5000,      // time out beetwen slides
        history: true,  // change/check location hash
        title: true,     // show title
        titleshow: false, // always show title
        callback: null,  // callback function - call when slide changed - receive index and label
        panel: true,     // show controls panel
        play: true,     // play slideshow
        loop: true,      // looping
        effect: 'zoom',  // aviable fade, scrollUp/Down/Left/Right, zoom, zoomFade, growX, growY
        effecttime: 1000, // aviable fast,slow,normal and any valid fx speed value
        filter: true,    // remove &lt;br/&gt;, empty &lt;div&gt;, &lt;p&gt; and other stuff
        nextclick: false,      // bind content click next slide
        playclick: false,      // bind content click play/stop
        playhover: false,      // bind content hover play/stop
        playhoverr: false,     // bind content hover stop/play (reverse of playhover)
        playframe: false,       // show frame &quot;Play Now!&quot;
        loadframe: true,       // show frame with "loading"
        fullscreen: false,     // in full window size

        imgresize: true,      // resize image to slideshow window
        imgzoom: true,         // zoom image to slideshow window (for smaller side)
        imgcenter: true,       // set image to center
        imgajax: true,         // load images from links
        imglink: true,         // go to external link by click

        linkajax: false,       // load html from links
        help: 'Plugin homepage: &lt;a href=&quot;http://slideshow.hohli.com&quot;&gt;(a)Slideshow&lt;/a&gt;&lt;br/&gt;' +
'Author homepage: &lt;a href=&quot;http://anton.shevchuk.name&quot;&gt;Anton Shevchuk&lt;/a&gt;',

        controls: {         // show/hide controls elements
            'hide': true,    // show controls bar on mouse hover
            'first': true,   // goto first frame
            'prev': true,    // goto previouse frame (if it first go to last)
            'play': true,    // play slideshow
            'next': true,    // goto next frame (if it last go to first)
            'last': true,    // goto last frame
            'help': true,    // show help message
            'counter': true  // show slide counter
        }
    }
);
});
