X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=doc%2Fdemo.xhtml;h=77510ae0efe014a9f0bc38197ec38b80c911e966;hb=2bb4eb6ce055a1c5c5e587c9102f09078b185dbf;hp=7955f1dbd40d1795fb94a92fd189a00ea59c3835;hpb=84940d8f7c885110f6ce355ba467dba4f71d7f4d;p=hacks%2FsimpleWebSlides.git diff --git a/doc/demo.xhtml b/doc/demo.xhtml index 7955f1d..77510ae 100644 --- a/doc/demo.xhtml +++ b/doc/demo.xhtml @@ -2,7 +2,7 @@ - + SimpleWebSlides @@ -13,17 +13,17 @@ + + - - + + + + - - ]]> + + (That's not a bug, you should keep pressing next, see how many + steps there are on this slide)

@@ -350,11 +349,25 @@ Of course we can animate it with some javascript! SWS.Presentation.registerCallback(2, function(o){ set_color(o.find("#middledisk"), "#ffa500"); set_color(o.find("#bottomdisk"), "#000a1a"); +/**/ + SWS.Config['sws-slide-change'] = SWS.Effects.slideChangeFadeOutIn; }); SWS.Presentation.registerCallback(3, function(o){ set_color(o.find("#bottomdisk"), "#00ff00"); + SWS.Config['sws-slide-change'] = SWS.Effects.slideChangeHorizontalSlide; +/* */ }); + +
+

Totally customizable

+

+ BTW did you see how I changed the transition effect for the + previous slide ? +

+