Ignore:
Timestamp:
Dec 17, 2013, 11:25:38 PM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Slimi/template/thumbnails.tpl

    r19019 r25998  
    33    global $page, $template;
    44    $template->assign('cat_name', $page['category']['name']);
    5        
    6         global $Slimi;  $this->assign( 'Slimi', $Slimi);
    75{/php}
    86
    97
    10 <div id="carouselthumb">
     8<div id="carousel">
    119<div id="wrap">
    12 <ul id="carousel" class="jcarousel-skin-cat">
     10                <div class="jcarousel">
     11<ul>
    1312                {if !empty($category_thumbnails)}
    1413               
     
    3938        {assign var=derivative value=$pwg->derivative($carousel, $thumbnail.src_image)}
    4039                        <li>
    41                                 <div class="iIllustration">
     40                                <div class="illustration">
    4241                                        <a href="{if ($Slimi.lytebox_slimi)==1}{$thumbnail.path}" class="lytebox" rev="slide:true group:name showNavigation:true navType:1 slideInterval:6000"{else}{$thumbnail.URL}"{/if} title="{$thumbnail.NAME|strip_tags:false|replace:'\'':'&#39;'|replace:'"':'&quot;'}">
    4342                                        <img class="thumbnail" src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" height="{$carousel->max_height()}"/>
     
    7372        {/foreach}
    7473</ul>
    75 {footer_script}{literal}
    76 function mycarousel_initCallback(carousel)
    77 {
    78     // Pause autoscrolling if the user moves with the cursor over the clip.
    79     carousel.clip.hover(function() {
    80         carousel.stopAuto();
    81     }, function() {
    82         carousel.startAuto();
    83     });
    84 };
    85 
    86 jQuery(document).ready(function() {
    87     jQuery('#carousel').jcarousel({
    88         auto: 0,
    89                 wrap: 'circular',
    90                 scroll: 2,
    91                 initCallback: mycarousel_initCallback,
    92                
    93     });
    94 });
    95 
    96 {/literal}{/footer_script}
    9774
    9875</div>
    9976</div>
     77        <a href="#" class="jcarousel-control-prev">&lsaquo;</a>
     78    <a href="#" class="jcarousel-control-next">&rsaquo;</a>
     79</div>
Note: See TracChangeset for help on using the changeset viewer.