Template:Tongji China/plugins/flexslider/flexslider config JS

jQuery(document).ready(function($) { $('.testimonialslide').flexslider({ animation: "slide", slideshow: false, directionNav:false, controlNav: true });

$('.postslider').flexslider({

       // Primary Controls
       controlNav          : true,              //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
       directionNav        : true,              //Boolean: Create navigation for previous/next navigation? (true/false)
      prevText: "",           //String: Set the text for the "previous" directionNav item
   nextText: "",               //String: Set the text for the "next" directionNav item
       // Special properties
       controlsContainer   : "",                //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found.
       manualControls      : "",                //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.
       sync                : "",                //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.
       asNavFor            : "",                //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider

});

$('.main-slider').flexslider({

       // Primary Controls
       controlNav          : true,              //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
       directionNav        : true,              //Boolean: Create navigation for previous/next navigation? (true/false)
      prevText: "",           //String: Set the text for the "previous" directionNav item
   nextText: "",               //String: Set the text for the "next" directionNav item
       // Special properties
       controlsContainer   : "",                //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found.
       manualControls      : "",                //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.
       sync                : "",                //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.
       asNavFor            : "",                //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider

});

});