Sep 19, 2017 12:01 PM - edited Sep 19, 2017 12:01 PM
I have built an email for a hubspot campaign that has links to an elearning module I have designed. I want the links to open in a NEW specific size window. Here is the code I am using:
<a href="#" onclick="window.open('http://elearning.berkshireassociates.com/talentacquisition/TAdemo_html5.html','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=895, height=520');return(false)"><strong>NEW Affirmative Action for Talent Acquisition</strong></a>
Solved! Go to Solution.
Sep 20, 2017 2:37 AM
You should also consider mobile compatability. Even if this could work, what would it do if someone clicked the link on mobile.
There might be other ramifications with this type of functionality as well, such as spam penalties. Users don't like popups and redirects and it could turn them off of your company. If I were you I would just send them to the page in a fresh tab and call it a day.