Support » Plugin: oik-nivo-slider » Change link target

Viewing 3 replies - 1 through 3 (of 3 total)
  • ok, so its no way an official way to do it. Its just a jquery code i made to get around this, until the developers fully support this option.
    Hope it helps!

    jQuery(document).ready(function() {
    	jQuery("#slider a img").each(function (i) {

    Thank you so much for the js, gonzalom, but I’m not skilled enough to implement it, and need a little more help.

    I’m guessing I need to add the jquery to one of the .js files in the plugin, but they are all showing as (inactive) when viewed in the editor.

    Plugin Author bobbingwide


    Hi, with oik version 2.0 this is now possible using a new shortcode [bw_jq]. I wrote a slightly simpler version of the jQuery code, releasing the new version today (18th June 2013)

    See how this is done at

    The jQuery code I wrote is

     * (C) Copyright Bobbing Wide 2013
     * Simple jQuery to set links in the oik-nivo-slider to open in a new window.
     * Adds target="_blank" to any anchor tag (a) within the class of .nivoSlider
    jQuery(document).ready(function() {
    	jQuery(".nivoSlider a").attr("target","_blank");

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change link target’ is closed to new replies.