Hi guys,
I get how to add a link to a feature image, but it opens in the same tab/window, taking people away from my site.
How can I get it to open the link in a new tab/window?
Thanks a lot
Hi guys,
I get how to add a link to a feature image, but it opens in the same tab/window, taking people away from my site.
How can I get it to open the link in a new tab/window?
Thanks a lot
Hey,
you can use following js code in js/avia.js open up the file and replace:
jQuery.noConflict();
jQuery(document).ready(function(){
with:
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery("a[href^='http:']").not("[href*='mydomain.com']").attr('target','_blank');
If you'd like to open external links in a new window/tab only. Replace mydomain.com with your domain. If all links should open in a new windows use following code:
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(".slideshow_container a[href^='http:']").attr('target','_blank');Brilliant, thanks a lot.
Love the support Kriesi provides, thanks again
Glad that I could help you :)
You must log in to post.