Jump to content

Add a redirect to Promotional Popup 7.1

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Enter below code to Post-Submit HTML

<script>
window.location.href = "https://static1.squarespace.com/static/64a4c41c9cac743093d25c7a/t/6501eb83983b24245be307b0/1694624647630/Untitled+design.pdf";
</script>

image.thumb.png.0086fc9977a7a14e29776e322ff7ded5.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
7 hours ago, tuanphan said:

Enter below code to Post-Submit HTML

<script>
window.location.href = "https://static1.squarespace.com/static/64a4c41c9cac743093d25c7a/t/6501eb83983b24245be307b0/1694624647630/Untitled+design.pdf";
</script>

image.thumb.png.0086fc9977a7a14e29776e322ff7ded5.png

it worked thank you!!! Is there a way to have it pop open in a new tab? to no re direct from the website? thanks!

Link to comment
  • Solution
On 9/16/2023 at 12:25 AM, LindsEli said:

it worked thank you!!! Is there a way to have it pop open in a new tab? to no re direct from the website? thanks!

Use this code

<script>
  window.open('https://static1.squarespace.com/static/64a4c41c9cac743093d25c7a/t/6501eb83983b24245be307b0/1694624647630/Untitled+design.pdf', '_blank');
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.