Than you will have to put all the slides on its own page. This can be done with ‘autopage’. See Table IV-A10 and Table VIII-B10.
Imortant:
Read the help on VIII-B10 and try it out on a test site first to see if this is really what you want. It creates many many wp pages ( with only a shortcode ).
Thread Starter
macfo
(@macfo)
I’ll let you know, thanks
Thread Starter
macfo
(@macfo)
Hi Jacob,
I took a look at the procedure, but not having a test server and did not want to create too many pages, I tried this solution, though not quite professional. But it manages to achieve refresh the page by placing this script simple. But sometimes it works and sometimes it does not, you can do something like this?
in wppa-functions.php – row: 6169
$events .= ' onclick="setTimeout(\'\history.go(0);\',2000);wppaGotoKeepState( '.$wppa['mocc'].', '.$idx.' )"';
Do you want to look?
http://www.italiaonroad.it/galleria-foto/?wppa-occur=1&wppa-album=23&wppa-photo=1552
Thanks a lot
in wppa-functions.php – row: 6169
does not exist.
This is most likely a timing issue. You should wait until
_wppaIsBusy['.$wppa['mocc'].'] == false
Thread Starter
macfo
(@macfo)
Did you see how it work “my” gallery?
I’ve added all the links in slideshow, this:
“setTimeout(\’\history.go(0);\’,2000)”
not very professional but it works,
how would you?
However, I can guarantee that WP Photo Album Plus is the best photo gallery on wordpress, thanks!
Yes i have seen it. But the fact that it sometimes does not work is most probably a timing thing.
Try this:
Put a js function somewhere:
function wppaMyHistoryGo(mocc) {
if ( _wppaIsBusy[mocc] ) {
setTimeout('wppaMyHistoryGo('+mocc'), 100);
return;
}
document.location.reload( true );
}
and change the $events addition as follows:
$events .= 'wppaMyHistoryGo('.$wppa['mocc'].');';
I did not test it but – if your solution works – this will work and wait for the slide being fully loaded and visible.
Thread Starter
macfo
(@macfo)
Hi Jacob,
you can not add it as an option in the slideshow on the control panel?
if you do not mind?
I try to add it, thank you!
Does it work correctly now?
If so, i will add it.
Thread Starter
macfo
(@macfo)
I’m sorry but I did not understand how much I have to add the JS how do I put it?
I simply changed:
————————————————
in wppa-functions.php
added this code to the action: onclick = “wppaGotoKeepState”
“setTimeout (\ ‘history.go (0); \’, 1000);”
————————————————
in wppa-slideshow.php
added this code to the actions: onclick = “wppaUbb” / onclick = “wppaNext” / onclick = “wppaPrev”
“setTimeout (\ ‘history.go (0); \’, 2000);”