WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
NextGen Slideshow : add RTL support (1 post)

  1. itaymesh
    Member
    Posted 2 years ago #

    Hi,
    It would be nice if you can add support for RTL languages
    for the ngg slideshow.
    Meaning, add the rev cycle option to the code in nggShow_JS_Slideshow function:

    $out .= "\n" . 'jQuery(document).ready(function(){ ' . "\n" . 'jQuery("#' . $anchor . '").nggSlideshow( {' .
    'id: ' . $galleryID . ',' .
    'fx:"' . $ngg_options['slideFx'] . '",' .
    'width:' . $width . ',' .
    'height:' . $height . ',' .
    'domain: "' . trailingslashit ( home_url() ) . '",' .
    'timeout:' . $ngg_options['irRotatetime'] * 1000 .
    'rev:' . is_rtl() ? 1 : 0 .
    '});' . "\n" . '});';
    $out .= "\n".'</script>';

    Thanks
    Itay

    http://wordpress.org/extend/plugins/nextgen-gallery/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic