/*
 * MovingBoxes demo script
 */

$(function(){

	$('#slider-two').movingBoxes({
		startPanel   : 2,      // start with this panel
		width        : 950,    // overall width of movingBoxes (not including navigation arrows)
		height		 : 245,
		panelWidth   : 0.3,     // current panel width adjusted to 70% of overall width
		imageRatio   : 5/3,   
		wrap         : true,   // if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
		buildNav     : true,   // if true, navigation links will be added
		//navFormatter : function(){ return "&#9679;"; } // function which returns the navigation text for each panel
		navFormatter : function(index, panel){ return panel.find('h2 span').text(); } // function which gets nav text from span inside the panel header
	});
	
});
/*
 * MovingBoxes demo script
 */
/*
$(function(){

	$('#slider-two').movingBoxes({
		startPanel   : 2,      // start with this panel
		width        : 950,    // overall width of movingBoxes (not including navigation arrows)
		height		 : 245,    // overall width of movingBoxes (not including navigation arrows)
		imageRatio   : 5/3,      // Image ration set to 1:1 (square image)
		wrap         : true,   // if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
		buildNav     : true,   // if true, navigation links will be added
		//panelType    : '> li', // selector to find the immediate ">" children "li" of "#slider-one" in this case
		navFormatter : function(){ return "&#9679;"; } // function which returns the navigation text for each panel
	});
*/
