Changeset 27028


Ignore:
Timestamp:
Jan 28, 2014, 9:36:38 PM (6 years ago)
Author:
mistic100
Message:

fix slider by restoring my custom code removed with nivoSlider update

Location:
extensions/ExtendedDescription
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/include/functions.inc.php

    r27027 r27028  
    258258    'list' =>      array('[\d,]+', null),
    259259    'size' =>      array('SQ|TH|XXS|XS|S|M|L|XL|XXL', 'M'),
    260     'speed' =>     array('\d+', 3),
     260    'speed' =>     array('\d+', 5),
    261261    'title' =>     array('yes|no', 'no'),
    262262    'effect' =>    array('[a-zA-Z]+', 'fade'),
  • extensions/ExtendedDescription/template/nivoslider/nivo-slider.css

    r26127 r27028  
    99 
    1010/* The Nivo Slider styles */
     11.slider-wrapper {
     12        margin:0 auto; /* custom */
     13}
    1114.nivoSlider {
    1215        position:relative;
     
    1417        height:auto;
    1518        overflow: hidden;
     19  margin: 0 auto; /* custom */
    1620}
    1721.nivoSlider img {
     
    2024        left:0px;
    2125        max-width: none;
     26  border:none !important; /* custom */
    2227}
    2328.nivo-main-image {
     
    2530        position: relative !important;
    2631        width: 100% !important;
     32  margin: 0 auto; /* custom */
    2733}
    2834
  • extensions/ExtendedDescription/template/slider.tpl

    r26968 r27028  
    1 {combine_script id='jquery.nivo.slider' path=$EXTENDED_DESC_PATH|cat:'template/nivoslider/jquery.nivo.slider.pack.js' require='jquery' load='footer'}
     1{combine_script id='jquery.nivo.slider' path=$EXTENDED_DESC_PATH|cat:'template/nivoslider/jquery.nivo.slider.js' require='jquery' load='footer'}
    22{combine_css id='nivoslider' path=$EXTENDED_DESC_PATH|cat:'template/nivoslider/nivo-slider.css'}
    33{combine_css id='nivoslider_theme' path=$EXTENDED_DESC_PATH|cat:'template/nivoslider/default.css'}
    44
     5{if $SLIDER.control_thumbs}
    56{html_style}
    6 #slider{$SLIDER.id} {ldelim} margin:0 auto; }
    7 #slider{$SLIDER.id} .nivoSlider img {ldelim} border:none !important; }
    87#slider{$SLIDER.id} .nivo-controlNav.nivo-thumbs-enabled img {ldelim}
    98  width: {$SLIDER.thumbs_size}px; height: {$SLIDER.thumbs_size}px;
    109}
    1110{/html_style}
     11{/if}
    1212
    1313{if $SLIDER.elastic}
Note: See TracChangeset for help on using the changeset viewer.