Plugin Directory

Changeset 347176


Ignore:
Timestamp:
02/18/2011 02:17:47 AM (15 years ago)
Author:
jjcoder
Message:
 
Location:
jj-nextgen-jquery-carousel/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jj-nextgen-jquery-carousel/trunk/includes/jj_ngg_jquery_carousel.php

    r341656 r347176  
    128128          if($gap != '')
    129129          {
    130             $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-item-horizontal { margin-right: " . $gap . "px !important; }";
    131             $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-direction-rtl .jcarousel-item-horizontal { margin-left: " . $gap . "px !important; }";
     130            $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-item-horizontal { margin-right: " . $gap . "px; }";
     131            $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-direction-rtl .jcarousel-item-horizontal { margin-left: " . $gap . "px; }";
    132132          }   
    133133        }
     
    154154          }     
    155155        }     
    156         $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-item { width: " . $width . "px !important; height: " . $height . "px !important; }";                     
     156        $output .= "\n  div#" . $html_id . "_container ." . $skin_class . " .jcarousel-item { width: " . $width . "px; height: " . $height . "px; }";                     
    157157        $output .= "\n</style>";
    158158      }     
     
    260260      $output .= "{" . implode(",", $javascript_args) . "}";
    261261    }
    262     $output .= ");";       
     262    $output .= ");";
     263   
     264    // Hack to make jcarousel work with gaps       
     265    if($width != '') {
     266      $output .= "\n  jQuery('ul#" . $html_id . " li').width(" . $width . ");";
     267    }
    263268    $output .= "\n</script>\n";
    264269 
  • jj-nextgen-jquery-carousel/trunk/jj-ngg-jquery-carousel.php

    r346019 r347176  
    44Description: Allows you to pick a gallery from the 'NextGen Gallery' plugin to use as a 'JQuery JCarousel'.
    55Author: JJ Coder
    6 Version: 1.1.4
     6Version: 1.1.5
    77*/
    88
  • jj-nextgen-jquery-carousel/trunk/readme.txt

    r346019 r347176  
    55Requires at least: 2.8
    66Tested up to: 3.0.5
    7 Stable tag: 1.1.4
     7Stable tag: 1.1.5
    88
    99Allows you to pick a gallery from the 'NextGen Gallery' plugin to use as a 'JQuery JCarousel'.
     
    111111== Changelog ==
    112112
     113- 1.1.5: Gap fixes.
    113114- 1.1.4: Readme.
    114115- 1.1.3: Readme.
Note: See TracChangeset for help on using the changeset viewer.