Viewing 4 replies - 1 through 4 (of 4 total)
  • whatachamp

    (@whatachamp)

    Thought I’d answer this one as I had the same problem and couldn’t see an answer in this forum. In the jj_ngg_jquery_slider.php file in the includes folder, find line 261 starting with $output .=

    Change it to:

    $output .= "<a target=\"_blank\" href=\"" . esc_attr($image_alt) . "\">";

    Thread Starter HennieM

    (@henniem)

    Thank for your help – now working fine

    Does anyone know how would I achieve the same thing for specific images versus applying this change for ALL images..

    Hi! This is the answer I’ve been looking for except I need the fix for the JJ NextGen Carousel (jj_ngg_jquery_slider.php). I changed the code as above but it didn’t work for me. My code is below:

    // Add javascript
        $output .= "\n<script type=\"text/javascript\">";
        // Shuffle results on random order so even if page is cached the order will be different each time
        if($order == 'random' && $shuffle == 'true')
        {
          $output .= "\n  jQuery('ul#" . $html_id . "').jj_ngg_shuffle();";
        }
        $output .= "\n  jQuery('ul#" . $html_id . "').jcarousel(";
        if(count($javascript_args) > 0)
        {
          $output .= "{" . implode(",", $javascript_args) . "}";
        }
        $output .= ");";
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: JJ NextGen JQuery Slider] Open new browser window from link’ is closed to new replies.