Currently, the slideshow controls don't display, even when the settings say they should.

I'm working on this. Having a bit of an issue with the "Previous" control.

Comments

kentr’s picture

Component: Documentation » Code
kentr’s picture

Ideas are welcome.

The issue with the Previous control is due (I believe) to

  • The "preload" feature, which fires before a transition.
  • The fact that the physical elements aren't actually representative of the real elements in the slideshow. When you go "back", the slide stored there isn't the last slide viewed, it's some other slide that's been preloaded at that point.

Neither of those is hard to tweak, but I can't think of a simple way to have a large number of slides already loaded for reverse movement without simply storing a large history and eating up memory.

In my mind, this defeats one of the reasons for Ajax: keeping the number of elements on the page to a low number - not just for initial load time, but also for memory.

Maybe it's not that big of a deal to just reload the elements when viewing in reverse. Photos and other assets should already be in the browser cache.

guillaumeduveau’s picture

Version: » 6.x-1.0

Subscribing, and thanks for your work :-)

kentr’s picture

Status: Active » Needs review

Latest dev version has pager working in:

  • FF 3.6 Mac
  • Safari 5.0.3 Mac
  • Chrome 9.0.597 Mac
drone’s picture

Version: 6.x-1.0 » 6.x-1.1
Category: task » bug
Priority: Normal » Critical

It works mostly fine, but there's one issue with controls: in the looped slideshow after passing through one full cycle of the whole slideshow it stops cycling correctly, it gets stuck on the initial slide and rotates just this single slide over and over again instead of going to next or previous one. And the same behavior takes place when you click the previous button while being on the first slide so you can't get to the last slide from the first one without going through the whole slideshow.
And thanks for your work, awesome stuff!

drone’s picture

Trying to narrow down the problem area.
Say we have slideshow with 10 slides (pages). When you you're on the 10th slide and click on the next button the URL string for AJAX request contains page=11 parameter instead of page=1, so page parameter is increased continuously.

kentr’s picture

I seem to recall that sort of behavior previously.

Did you flush caches to get the newest javascript to come through?

What OS / Browser?

In just a bit, I'll have a working demo online so you can compare notes.

kentr’s picture

drone’s picture

Yeah, I flushed all caches.
OS - Win 7, browsers - all.
And by the way, I have several items per slide and several views with slideshows per page.

kubedan’s picture

If i try set slideshow paused on start it doesn't work.

My working path in attach.

kentr’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)