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

    Hi,

    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?

    Thanks

    #87260

    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');

    #87261

    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.