Previous and Next buttons to show all the time?

Forums Forums Slimbox2 plugin Previous and Next buttons to show all the time?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #880
    greencode
    Member

    Is there any way that these buttons can stay visible all the time rather than just when you rollover the image?

    Thanks in advance for any help

    #6469
    malcalevak
    Moderator

    Change slimbox2_autoload.js.php lines 45-60 as follows
    From:
    [code:ieh9culr]
    $("#lbPrevLink").hover(
    function () {
    $(this).css("background-image","url(”.WP_PLUGIN_URL.’/wp-slimbox2/images/’.__(‘default/prevlabel.gif’, ‘wp-slimbox2’).”)");
    },
    function () {
    $(this).css("background-image","");
    }
    );
    $("#lbNextLink").hover(
    function () {
    $(this).css("background-image","url(”.WP_PLUGIN_URL.’/wp-slimbox2/images/’.__(‘default/nextlabel.gif’, ‘wp-slimbox2’).”)");
    },
    function () {
    $(this).css("background-image","");
    }
    );’;[/code:ieh9culr]

    To:
    [code:ieh9culr]

    $("#lbPrevLink").css("background-image","url(”.WP_PLUGIN_URL.’/wp-slimbox2/images/’.__(‘default/prevlabel.gif’, ‘wp-slimbox2’).”)");
    $("#lbNextLink").css("background-image","url(”.WP_PLUGIN_URL.’/wp-slimbox2/images/’.__(‘default/nextlabel.gif’, ‘wp-slimbox2’).”)");
    ‘;[/code:ieh9culr]

    #6470
    greencode
    Member

    Thanks so much for this

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.