Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15379


    in my KenBurn slider at the frontpage are images, that link to external URLs.

    How can I apply a target=blank to these external links within the slider config settings?



    Unfortunately Velvet does not offer such an option. You can use following js script though – it adds a target_blank attribute to all external links. Add the code to js/avia.js after the document.ready code line:

    jQuery(".slideshow_container a").filter(function() {
    return this.hostname && this.hostname !== location.hostname;
    }).attr('target', '_blank');


    thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to apply a target=blank to KenBurn-slider images linked to an external URL?’ is closed to new replies.