News:

Wondering if this will always be free?  See why free is better.

Main Menu

Hyper link opened up in a new window

Started by Kustomuk, May 28, 2020, 02:50:19 PM

Previous topic - Next topic

Kustomuk

This is the code i`m using to link to another site by clicking on a photo, but it goes directly to the other site taking it away from ours, is there a way of making the code open a new window instead of jumping straight to the other side.

$advert[] = '<a href="http://www.THIS IS THE JUMP TO LINK CODE.com/"><img src="THIS IS THE DISPLAY IMAGE CODE.png"></a>';

Arantor

$advert[] = '<a href="http://www.THIS IS THE JUMP TO LINK CODE.com/" target="_blank" rel="noopener"><img src="THIS IS THE DISPLAY IMAGE CODE.png"></a>';

Kustomuk


Advertisement: