On Mar 21, 8:31 pm, rouilj <[email protected]> wrote:
> Also while I am on the subject, is it possible to have a single key
> that will:
>
> * expose overlays like the arrow key if there are overlays to be
> exposed
> * move the the next slide if all the overlays are exposed
Yup it is. Since the left hand mouse button does this, I just used the
same function call
and bound it to space when not in autoadvance mode. To do this
replace:
case 32: // spacebar
if(cm.auto>0){
if(cm.autoAdvance){
clearInterval(cm.autoAdvance);
cm.autoAdvance = null;
} else {
cm.autoAdvance=setInterval(cm.nextSlide, cm.auto*1000);
}
}
break;
with:
case 32: // spacebar
if(cm.auto>0){
if(cm.autoAdvance){
clearInterval(cm.autoAdvance);
cm.autoAdvance = null;
} else {
cm.autoAdvance=setInterval(cm.nextSlide, cm.auto*1000);
}
} else {
cm.nextSlide();
}
break;
which sets space bar to advance if auto advance mode is not turned on.
If autoadvance mode is turned on, then
space still stops the autoadvance. Hopefully the javacsript above
isn't messed up too much by Google Groups.
Paulo, could I get this change into your SlideShowPlugin so I can
resync?
Thanks.
-- rouilj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---