Support » Plugin: Fluid Responsive Slideshow » RFS 2.2.9 not working with WP 4.8

  • Eric3D

    (@eric3d)


    The sideshow does not work since upgrading to WP 4.8. It looks like there are paragraph tags inside the script causing errors.

    <script type="text/javascript">
    	jQuery(document).ready(function($) {
    		$('#homeshowpjc').frs({
    			animation : 'fade', // horizontal-slide, vertical-slide, fade
    			animationSpeed :  800, // how fast animtions are
    			timer :  true, // true or false to have the timer
    			advanceSpeed :   2500, // if timer is enabled, time between transitions
    			pauseOnHover : true, // if you hover pauses the slider
    			startClockOnMouseOut :  true, // if clock should start on MouseOut
    			startClockOnMouseOutAfter :  800, // how long after MouseOut should the timer start again
    			directionalNav : true, // manual advancing directional navs
    			captions : true, // do you want captions?
    			captionAnimation : 'fade', // fade, slideOpen, none
    			captionAnimationSpeed : 800, // if so how quickly should they animate in
    			bullets :  true, // true or false to activate the bullet navigation
    			bulletThumbs : true, // thumbnails for the bullets
    			bulletThumbLocation : '', // location from this file where thumbs will be
    			navigationSmallTreshold:  false,
    			navigationSmall: 600,
    			skinClass: 'frs-skin-default',
    			width: 650,
    			height: 487,
    			fullWidth: false,
    			minHeight: 300,
    			maxHeight: 0,
    			sbullets: false,
    			sbulletsItemWidth: 200,
    			continousSliding: false,
    			jsOnly: false
    		});		</p>
    <p>		/**
    		 * touchSwipe
    		 */
    		$('#homeshowpjc-slideshow .frs-slide-img').swipe( 
    		{
    	        swipeLeft:function(event, direction, distance, duration, fingerCount) {
    				$('#homeshowpjc-slideshow .frs-slider-nav .frs-arrow-right').click();						
    			},</p>
    <p>			swipeRight:function(event, direction, distance, duration, fingerCount) {
    				$('#homeshowpjc-slideshow .frs-slider-nav .frs-arrow-left').click();
    			},</p>
    <p>	        triggerOnTouchLeave:true
    	    });
    	})		
    </script>
    • This topic was modified 6 months ago by  . Reason: formatting
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.