Slide show speed default

Last post 09-30-2011, 9:47 AM by MSWebService. 2 replies.
Sort Posts: Previous Next
  •  08-26-2011, 9:51 AM 69840

    Slide show speed default

    Is there a way to set the speed of the slide show to default to 'faster' or some arbitrary speed while initializing the gallery?
     
    I couldn't see anything in the code to do this.
     
    Also tried changing line 59 of /aspgallery/resources/Layout/SlideShow/Code.js   this._speed=5.0;  to a larger value and don't see any result in the player either.  
     
    Can you point me in the right direction to the docs or wherever I might make this change....
     
    Thanks! 
     
  •  09-12-2011, 7:53 AM 70014 in reply to 69840

    Re: Slide show speed default

    Hi MSWebService ,
     
     1. Open file "\aspgallery\resources\Layout\SlideShow\Code.js"
     
    2. Find section below
     
        if(this.playing)
                {
                    this.SetPlayTimeout(this.PlayOnTimer,this._speed*1000,"PlayOnTimer");
                }
     
    3. Change to (the red code, 1000 mean 1 second)
     
        if(this.playing)
                {
                    this.SetPlayTimeout(this.PlayOnTimer,1000,"PlayOnTimer");
                }

    Regards,
     
    Ken
  •  09-30-2011, 9:47 AM 70245 in reply to 70014

    Re: Slide show speed default

    Thanks Kenneth!
View as RSS news feed in XML