This works fine but the PDF will open in the same tab and closing the webpage. If I choose to open the link in a new tab the browser will block it and show “about:blank#blocked”
hi @oooooliver I do not know why you thing that is only related to pages as it is related to URL. When you add to PDF link target="_blank" it will open PDF in a new tab.
EDIT:
Video was deleted by me to save space on cloud storage
Thanks Stan
I understand that putting the target on _blank will open on another tab. What I want to achieve is to play an animation before loading the link to an attachment file on a separate tab. So this is JS:
hi @oooooliver I have found the way how to achieve your requested functionality. Hopefully you will be able to implement and make it work together with your animation.