PDA
    
    View Full Version : Permant slideshow
    
    
    
      
        
          sidfrisby
        
        
          October 30th, 2006, 06:47 PM
        
       
      
        Hi there
        
        I have been able to adapt the slideshow template to suit my needs but I am stuck on the last change that I need.
        
        Does anyone know how to change the template to make the slideshow cycle continuously?
        
        I have searched the forum but have had no luck with this change.
        
        best wishes
        
        Sid Frisby
      
     
    
    
      
        
          dhphoto
        
        
          October 30th, 2006, 07:35 PM
        
       
      
        Try this:
        
        http://www.peterberger.at/articles/bb_js_slideshow/index_e.html
        
        David
      
     
    
    
      
        
          sidfrisby
        
        
          October 30th, 2006, 10:41 PM
        
       
      
        Hi David
        
        thanks for that. But I am using the standard BB HTML slideshow template.
        I am just about up to speed with HTML but not with JavaScript. I was hoping that someone would point me in the direction of some code that I could drop into the template to achieve a continuous slideshow.
        
        
        All the best
        
        Sid Frisby
      
     
    
    
      
        
          Chris Breeze
        
        
          October 31st, 2006, 09:24 AM
        
       
      
        What you need to do is change the following line in fullsize_template.htm from:
        
        if (nextUrl.length 
        
        to:
        
        if (nextUrl.length 
        
        The first version loads the index page at the end of the slideshow. The second version loads the first page so that it loops around to the start.
      
     
    
    
      
        
          sidfrisby
        
        
          October 31st, 2006, 10:18 AM
        
       
      
        Thanks for the information Chris. I can now get the slideshow to return to the first page but it sticks there and the slideshow does not contine from that point. Do I need to make further changes?
        
        Many thanks
        
        Sid Frisby
      
     
    
    
      
        
          Peter
        
        
          October 31st, 2006, 07:40 PM
        
       
      
        Sid,
        you need to start it by appending the delay in seconds as argument.
        
        if (nextUrl.length 
    
    
    
      
        
          sidfrisby
        
        
          October 31st, 2006, 08:57 PM
        
       
      
        Thanks very much Peter. That has done the job. I've also learnt a little more about JavaScript.
        
        All the best
        
        Sid
      
     
    
    
      Powered by vBulletin™ Version 4.1.2 Copyright © 2011 vBulletin Solutions, Inc. All rights reserved.