Hi Maeve Lander,
I applied that code but how can I edit code for only some links to open in new tab
My website link (http://www.lifecarelogistic.com/about-us/company-profile/)
I want Download and Linkedin button to open in new tab and other two in same tab
Thanks
Sorry Saliks, that’s not possible. If you examine the code you can see it generates all the buttons based on that one section of code logic. So either you have ALL the buttons open in new tab, or ALL not.
Incidentally…
- Use a .zip file extension for a downloadable file. All browsers know to download a .zip and it does not require any open in new tab special instruction or special download instructions.
- It’s best practice not to force open in new tab unless there’s a really really good reason. Leave power with the user. No-one likes their computer doing things without them telling it to. Your user knows to right click > open in new tab, or ctrl+click if they wanted it to open in a new tab.