hi

is it possible to add another DIV tag around the navigation button in scrollable.tpl.php

something like

i did it in my custom template file, but the buttons in

are not shown anymore.
seems like the JS doesnt work anymore.

<div class="scrollable_views">
  <div id="scrollable_views_navigation">
  <?php if ( $options['prevbutton'] ): ?>
    <!-- prev link --> 
    <a class="prev"></a>
  <?php endif; ?>

  <?php if ( $options['navigator'] ): ?>
    <!-- navigator -->
    <div class="navi"></div>
  <?php endif; ?>

  <?php if ( $options['nextbutton'] ): ?>
    <!-- next link --> 
    <a class="next"></a>
  <?php endif; ?>
  </div>
  
    <!-- root element for scrollable --> 
    <div class="scrollable <?php print($options['vertical'] ? 'vertical' : 'horizontal'); ?>"> 
         
        <!-- root element for the items --> 
        <div class="items"> 
            <?php
            foreach ( $rows as $id => $row ) {
              print '<div class="item">'. $row .'</div>';  
            }
            ?>        
        </div> 
         
    </div>
    
</div>

thanks

Comments

rcharamella’s picture

Any resolution to this? I face a similar issue.