BipadTaranMahato / slideshow

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

Next photo on load #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I just updated to the latest revision r68 and I have noticed a problem.
Sometimes when I load the slideshow I need to click on the thumb or arrow
twice before the photo loads. When the photo loads all works well. I guess
this is due to the new code for loading the slideshow?
I noticed this in Firefox 3.

Thanks!

Original issue reported on code.google.com by m...@theglide.com on 9 Jul 2008 at 11:45

GoogleCodeExporter commented 9 years ago
Hi! To understand better - when you say you need to click on the thumb
or arrow twice before the photo loads - do you mean the "next" photo
that corresponds to the thumbnail (or arrow) clicked? Does this happen
consistently and can you reproduce it on the example pages? Thank you.

Original comment by aeron.gl...@gmail.com on 10 Jul 2008 at 1:43

GoogleCodeExporter commented 9 years ago
I need to click twice on any photo to get started. It happens everytime I 
launch the
slideshow. One thing that is different from the default setup is that I have my
slideshow on pause by default. This is maybe why I need to click twice?

My last line in the "go" function is: this._preload(this.options.fast);

Original comment by m...@theglide.com on 10 Jul 2008 at 1:54

GoogleCodeExporter commented 9 years ago
I am not able to duplicate this. One important thing to remember: when the 
slideshow is paused it does not 
stream-in images. It might simply be the slideshow does not respond immediately 
when you click a paused 
show (as it loads the next image) - do you have the animated preloader enabled?

Original comment by aeron.gl...@gmail.com on 11 Jul 2008 at 1:43

GoogleCodeExporter commented 9 years ago
I tried staring the slideshow and waiting a couple of seconds, then it works.
I guess I was just to eager to start clicking ;)

Yes, I changed the last line in the go function as I want the animation to work 
in
paused mode. 

Is it possible for the slideshow to slide in the next photo when it loads if a 
click
has been made before it loaded? Thus preventing the user from clicking twice :)

Original comment by m...@theglide.com on 11 Jul 2008 at 9:23

GoogleCodeExporter commented 9 years ago
This is how the show behaves at the moment when it is started with "paused" 
enabled:

1. Slideshow streams in the first image.
2. As soon as it is loaded the image is shown and the show goes into "stopped" 
mode.
3. Any click after that will stream in the appropriate image; un-pausing the 
show will play as normal.

To understand what you are asking, if the user clicks on a different image 
before #1 then it should abort 
streaming in the first image and start streaming in the clicked image? In 
either case the loading animation will 
be the only indication the script is doing anything. The user can continue 
clicking on controls / thumbnails 
and each time the currently loading image will abort and a new image will begin 
streaming - the show will 
still not show anything and i'm not sure this would be an improvement over the 
current setup. If i'm getting 
this wrong please let me know - thanks!

Original comment by aeron.gl...@gmail.com on 11 Jul 2008 at 1:53

GoogleCodeExporter commented 9 years ago
No exactly what I mean. 

What happens is that the #1 image loads and is displayed. If I click to the next
image seconds after the #1 image has loaded nothing happens. If I click 5 
seconds
after the #1 image has loaded it works. What I would like is that the slideshow
registers that I have clicked on the next photo. So it seems that the slideshow 
is in
the "stopped" mode when I click as the #1 images has loaded.

Original comment by m...@theglide.com on 11 Jul 2008 at 2:06

GoogleCodeExporter commented 9 years ago

Original comment by aeron.gl...@gmail.com on 20 Jul 2008 at 7:12

GoogleCodeExporter commented 9 years ago
This should be fixed in the new download.

Original comment by aeron.gl...@gmail.com on 26 Jul 2008 at 9:55