Jump to content

Arsel

Circle Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Arsel

  1. On 1/23/2024 at 9:11 AM, tuanphan said:

    All links, or all external links only? 

    If all links, use this new code

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
    <script>
    $(document).ready(function() { 
    		$('a').attr('target','_blank');
    	});
    </script>

     

    What if files do not open in a new window? I tried this code, but it doesn't work for files. The same problem with the option 'Open in new tab', I click and it doesn't save.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.