target=”_blank” in Slider – Button-Link

Asked on September 16, 2015 in Customization.
Answered

How can i change the target from the Button-Link in a Layerswp-Slider?

makrotom Layers User
Reply
  • Possible Answers to Your Question:

  • 2 Answer(s)
    Answered on September 18, 2015. Best answer

    You can do it by jQuery! To do it just find your slider ID:

    Replace YOUR_SLIDER_ID with your created widget ID:

     $("#YOUR_SLIDER_ID a.button").attr('target', '_blank');
     

    Example:

     jQuery(document).ready(function($) {
        $("#layers-widget-slide-4 a.button").attr('target', '_blank');
    });
     

    gognoos Power User
    Reply
    Answered on September 18, 2015.
    Vail Joy Layers Team
    Reply