WebSite X5Help Center

 
Graham O.
Graham O.
User

Open external Links in a new window  en

Автор: Graham O.
Просмотрено 999, Подписчики 1, Размещенный 0  

Hi guys

When I create links in Website X5 i always have them set to open in a new window.  I'm an affiliate for a photo site I'm a member of and the links they have provided me with all open in the same window.

Here is the code for one of the links:

<a href="https://www.dpbolvw.net/click-100561524-15048941" target="_top">

<img src="https://www.ftjcfx.com/image-100561524-15048941" width="728" height="90" alt="Make money in 30 seconds by uploading your photos. Sign up at ClickASnap.com" border="0"/></a>

I've changed the  target="_top"> to target="_blank">  that I believe should open the link in a new window and in the website X5 preview, it does open in a new window, but not on my on-line site, it still opens in the same window.

Have I not got the code right?

Regards

Graham

Размещено
11 Ответы - 1 Полезно
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En)

... use >  target = "_ blank"

... but in order to understand the problem, you have to post the LINK of the page that contains these links...

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Graham O.
Graham O.
User
Автор

Thanks for this KolAsim.  I have done the target= "blank" as in my previous post which works in preview, but not on the live site.

I'll post the link when I figure out how to denable right click on my site.

Читать больше
Размещено От Graham O.
Graham O.
Graham O.
User
Автор

*enable right click.

Читать больше
Размещено От Graham O.
Graham O.
Graham O.
User
Автор

Got it!

Link:

https://www.anrdoezrs.net/click-100561524-15045431

Code:

<a href="https://www.dpbolvw.net/click-100561524-15048941" target="_top">

<img src="https://www.ftjcfx.com/image-100561524-15048941" width="728" height="90" alt="Make money in 30 seconds by uploading your photos. Sign up at ClickASnap.com" border="0"/></a>

Change to code that I made:

Changed  target="_top"> to target="_blank">

Читать больше
Размещено От Graham O.
Miguel Galarza
Miguel Galarza
User

Hi Graham,


Something curious happens to me when trying to enter the link: https://www.anrdoezrs.net/click-100561524-15045431


I get the ublock alert. (see capture)

when I try to enter only https://www.anrdoezrs.net/
redirects me to this other site. (see capture)

These sites are on a list of nasty things on ublock.

When I remove the temporary block it always redirects me to: https://www.conversantmedia.com/legal/privacy or to the site https://www.clickasnap.com/ when I just enter: https://www.anrdoezrs.net or https://www.anrdoezrs.net/index.html

If I enter https://www.anrdoezrs.net/index.php I get this one pixel only.

Have you already checked if you don't have malware on your site?

Or a dissatisfied customer who has reported your site as fraudulent or phishing?

Something drastic but it does happen.

Recommendation:

If in the preview you see your page as it should be seen... I would recommend deleting all your site files (public_html folder) and reloading everything. First delete and then upload.

I wish and someone reading this could recommend something better about it.

Greetings.

Читать больше
Размещено От Miguel Galarza
Graham O.
Graham O.
User
Автор

Hi Miguel

With Firefox I get the attached screenshot.

Читать больше
Размещено От Graham O.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Graham O.
(It > En) ... sorry, maybe I didn't understandfoot-in-mouth, but in your site LINK, I don't see this image of your code posted before ...

... you should give me the LINK of the page where you applied the code related to the image ...

https://www.yceml.net/0237/15048941-1642409984206

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Graham O.
Graham O.
User
Автор

Doh!!  Sorry KolAsim  

My web page link:

https://www.wizardlyimagery.co.uk/index.html

I've got the affiliate links for ClickASnap throughout my site, but the home page one above is the only one I've changed to target="_blank"

Just tested it again and it is now working OK!  But it was not earlier.  Don't know why uless my update/code change did not get onto my site for some reason.  I'll update the rest of the afilliate links and if they play ball I'll let you know and this can be closed.

Читать больше
Размещено От Graham O.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... OK ... I was pleased to know that you have solved ... ciao

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Graham O.
Graham O.
User
Автор

Confirming that this can now be closed.  Thanks everyone.

Читать больше
Размещено От Graham O.
Esahc ..
Esahc ..
Moderator

Graham, to close this post simply select the correct answer (KolAsim?) and give it a tick

Читать больше
Размещено От Esahc ..