bugfix: portal_path is a instance variable.
[Portfolio.git] / skins / photo_layout_macros.pt
index 5a988be..daf722b 100644 (file)
       <div class="jsslider">
         <span id="slider"></span>
       </div>
-      <br clear="all"/>
       <script type="text/javascript" tal:content="python:'''
           var startSlideShow, slideShowNext, stopSlideShow;
           (function(){
                            document.getElementById('image_toolbar'),
                            document.getElementById('Breadcrumbs'));
             startSlideShow = function() {return fs.startSlideShow();};
-            slideShowNext = function() {return fs.slideShowNext();};
             stopSlideShow = function() {return fs.stopSlideShow();};
+            slideShowPrevious = function() {return fs.slideShowPrevious();};
+            slideShowNext = function() {return fs.slideShowNext();};
+            slideShowImageLoaded = function() {return fs.slideShowImageLoaded();};
           })();
           ''' % {'filmLength': len(contextInfos['infos'])
                 ,'center': index