On the top navigation, how do I make an external link open in a new window or tab? Let's say I add a link to the top navigation called Facebook that links to my Facebook page, what do I have to do so it opens in a new tab and doesn't reload the page. The code already has the target=_blank so I wonder what else needs to be done for it to work properly. Sorry. I asked this a week ago as private and didn't get a reply so I'm trying again as public. Maybe someone can help me. Thank you.
On the top navigation, how do I make an external link open in a new window or tab? Let's say I add a link to the top navigation called Facebook that links to my Facebook page, what do I have to do so it opens in a new tab and doesn't reload the page. The code already has the target=_blank so I wonder what else needs to be done for it to work properly. Sorry. I asked this a week ago as private and didn't get a reply so I'm trying again as public. Maybe someone can help me. Thank you.
Hi there,
try removing this piece of code from the /js/scripts.js
//Leaving Page Fade Out
jQuery('a.external').click(function(){
if( jQuery('.mask').length > 0 ){
var url = jQuery(this).attr('href');
jQuery('.mask').fadeIn(250, function(){
document.location.href = url;
});
jQuery("#loader").fadeIn("slow");
return false;
}
});
since you don't need the loader for facebook pages.
Thank you
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio