BipadTaranMahato / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

The last slide is not shown with loop:false option #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Note: If this is a troubleshooting question, please first look in the FAQ
(http://code.google.com/p/slideshow/wiki/FAQ), search in the Google Group
(http://groups.google.com/group/mootools-slideshow) and / or post your
question there! This form is only for technical issues / bugs, thank you.

What steps will reproduce the problem?
//<![CDATA[
          window.addEvent('domready', function(){
            var dataBSMT01 = {
                  '0.jpg' : {caption : 'Bar 1 '}
                , '1.jpg' : {caption : 'Bar 3 '}
                , '2.jpg' : {caption : 'Bath Shower 1'}
                , '3.jpg' : {caption : 'Bath Sink '}
                , '4.jpg' : {caption : 'Poker area by Bar '}
                , '5.jpg' : {caption : 'Pool Area 2 Windows '}
                , '6.jpg' : {caption : 'Pool Area Windows '}
                , '7.jpg' : {caption : 'Pool Bookcases FP '}
                , '8.jpg' : {caption : 'Pool Room Paneled Wall '}
                , '9.jpg' : {caption : 'Sports Screen Sound System'}
               };
            var ShowBSMT01 = new Slideshow('BSMT01', dataBSMT01, {
                    controller: false
                    , captions: true
                    , hu: '/BSMT01/pics/'
                    , delay: 5000
                    , thumbnails: true
                    , replace: [/^(.*)$/, '$1']
                    , loader: true
                    , loop: false
                  }
                );
            var dataGRAG01 = {
                  '0.jpg' : {caption : 'Entrance to the Salon'}
                , '1.jpg' : {caption : 'Two Car Garage'}
                , '3.jpg' : {caption : 'Storage Area Above Garage'}
               };
            var ShowGRAG01 = new Slideshow('GRAG01', dataGRAG01, {
                    controller: false
                    , captions: true
                    , hu: '/GRAG01/pics/'
                    , delay: 5000
                    , thumbnails: true
                    , replace: [/^(.*)$/, '$1']
                    , loader: true
                    , loop: false
                  }
                );
            });
//]]>

What is the expected output? What do you see instead?
The slide show should end showing the last (or the first) picture and the
caption.

What version of the product are you using? On what operating system and
browser?
I am seeing the same problem in Firefox3.0.6 and IE7.0

Please provide any additional information below.
You can see the issue on the following page:
http://www.shailhomes.com?projects.htm

Original issue reported on code.google.com by rxja...@gmail.com on 2 Mar 2009 at 4:17

GoogleCodeExporter commented 9 years ago
I didn't notice a problem with the way the non-looping slideshow works. But I 
did
notice some timing issues. I think there could be a conflict with other scripts 
on
that page. I would recommend getting the latest version of Slideshow (releasing 
a new
one shortly today) and Mootools. Remove extra scripts and start from there. If
everything works start adding back in the scripts to the page until the timing 
issues
re-appear. For more troubleshooting help please post to the Google Group:

http://groups.google.com/group/mootools-slideshow

Original comment by aeron.gl...@gmail.com on 15 Mar 2009 at 8:07