WordPress.org

Ready to get started?Download WordPress

Forums

Logo Slideshow
great plugin but i looking for more (2 posts)

  1. xinfo
    Member
    Posted 3 years ago #

    i love this plugin work great

    only problem once slide start it stop after 1 complete cycle , i want to slide keep going on how to do this

    http://wordpress.org/extend/plugins/logo-slideshow/

  2. Md Mahmudur Rahman
    Member
    Posted 3 years ago #

    Hello,

    You can add looping functionality by doing the following:

    - Edit the image-slideshow.js (\logo-slideshow\scripts) and change the gallerySlide() function as given below:

    function gallerySlide()
    	{
    		if(slideSpeed!=0){
    			var leftPos = imageGalleryObj.offsetLeft;
    			leftPos = leftPos/1 + slideSpeed;
    			if(leftPos>maxGalleryXPos){
    				leftPos = maxGalleryXPos;
    				slideSpeed = -1;
    
    			}
    			if(leftPos<minGalleryXPos){
    				leftPos = minGalleryXPos;
    				slideSpeed=1;
    			}
    
    			imageGalleryObj.style.left = leftPos + 'px';
    		}
    		setTimeout('gallerySlide()',50);
    
    	}

    - Actually changing the slideSpeed value will create a looping functionality.

    Enjoy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic