Post by inovateqsa » Thu Aug 13, 2015 9:59 pm

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

New member

Posts

Joined
Wed Mar 19, 2014 8:22 pm

Post by deepvision » Tue Aug 18, 2015 5:10 pm

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

Code: Select all

target="blank"

attribute to those <a> tags to force them to open in new windows.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am
Who is online

Users browsing this forum: No registered users and 13 guests