Page 1 of 2

Hyperlink in popup doesn't work correctly

Posted: Wed Aug 05, 2015 4:36 pm
by Terry Gilliver

I have a link inside a popup. The first time it is clicked the linked page opens then closes again, taking me back to the original page. On a second attempt, the linked page stays open.

The HTML is as follows:
pre
<p>By registering on <a href="Monzia&#46;html">MONZIA</a> for free we can help you to claim all your applicable expenses and reduce your tax bill &#46;</p>/pre

I use the same link elsewhere and works correctly. Is this a bug in popups?


Hyperlink in popup doesn't work correctly

Posted: Thu Aug 06, 2015 10:02 am
by Illya Stepanov

Hi Terry -

I've just tested this and it works for me correctly.

Could you please explain how exactly you're testing this? In browser or as installed app on device?

Are you using HTML inside popup? If yes, href should have a full link address and you can define target attribute.


Hyperlink in popup doesn't work correctly

Posted: Thu Aug 06, 2015 4:22 pm
by Terry Gilliver

In the appery test bowser (chrome) and also as an android app, results are the same. Yes it is html inside the popup. I haven't defined the target. What do you mean by full link address (http://Monzia.html?)


Hyperlink in popup doesn't work correctly

Posted: Thu Aug 06, 2015 4:30 pm
by Terry Gilliver

If I set target to same window, it doesn't work at all. Just for your information, Monzia.html is an apperyio page and is not an external link.


Hyperlink in popup doesn't work correctly

Posted: Sat Aug 08, 2015 7:10 pm
by Serhii Kulibaba

Hello Terry,

http://monzia.html/ - it is incorrect link, you should use relative path.

Please use code<a href="&#46;/Monzia&#46;html">MONZIA</a>/code

instead of code<a href="Monzia&#46;html">MONZIA</a>/code


Hyperlink in popup doesn't work correctly

Posted: Tue Aug 11, 2015 7:38 pm
by Terry Gilliver

sergiy, thanks for you reply, but it still works the same as <a href=" >Monzia</a>


Hyperlink in popup doesn't work correctly

Posted: Wed Aug 12, 2015 1:24 pm
by Terry Gilliver

Sergiy, Thanks for the reply, I have tried using <a href="./Monzia.html">MONZIA</a>, but it has the same issue as <a href="Monzia.html">MONZIA</a>. The link works anywhere else except popups where it shows the page for a brief second before returning to the calling page.


Hyperlink in popup doesn't work correctly

Posted: Wed Aug 12, 2015 3:13 pm
by Illya Stepanov

Is this happens on a device only or in the browser too?


Hyperlink in popup doesn't work correctly

Posted: Wed Aug 12, 2015 4:17 pm
by Terry Gilliver

This also happens in the apperyio test browser.


Hyperlink in popup doesn't work correctly

Posted: Wed Aug 12, 2015 8:33 pm
by Illya Stepanov

Could you please share with us your app or provide us with your app public link?