Good day all,
I am using Opencart 1.5.6.4 and would like to make the links on the following page open in a new tab:
https://heroesofgc.com/index.php?route= ... egory=TRUE
So I would like to make it so that the image link, text link, and add to cart buttons will all open in a new tab instead of the main window.
How would I go about doing that?
Kind Regards,
-John Lee
It is not a good idea to force internal links to open in a new tab/window.
Site visitor can decide for themselves if they want to open links in a new tab or not.
They can do so with a context menu (right mouse click) or simply by holding a CTRL key while clicking a link.
But you can of course add
attribute to those <a> tags to force them to open in new windows.
Site visitor can decide for themselves if they want to open links in a new tab or not.
They can do so with a context menu (right mouse click) or simply by holding a CTRL key while clicking a link.
But you can of course add
Code: Select all
target="blank"
attribute to those <a> tags to force them to open in new windows.
Who is online
Users browsing this forum: No registered users and 13 guests