Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Can we go over how to make the slideshow work in a random order again? I checked the previous thread but I think you've changed the JavaScript code enough from when you wrote the how-to so that it doesn't seem to look right, and when I try to modify, it still doesn't work. With my modifications, the show doesn't work at all. It shows the pips down below to navigate, and just alternates highlighting between the first two, but it doesn't change the slides at ALL. Thanks for your help! I modified the function like this: wsp_slideshow.prototype.gotoNextFrame = function() { var oldframe = this.currentFrame; for(;;) { this.currentFrame = Math.floor(Math.random() * (this.images.length -1)); if (oldframe != this.currentFrame) break; } this.gotoSpecificFrame(this.currentFrame); } |
||||
|
You are right, since RocketCake 5.5, this doesn't work anymore. If you change it like this it works again: Search for this code:
and replace it with this:
|
||||
|
Niko, not sure if you hear it enough, but you're awesome. Also: can you provide a mod so that the very first slide is also random? Also: will this be included in V5.7 as a built in option? ![]() ![]() ![]() |
||||
|
For starting up with a random page: search for
and replace it with
Yes, will think about making this an option. |
|