Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hyperlink in popup doesn't work correctly

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.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

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?)

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Hyperlink in popup doesn't work correctly

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

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

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

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hyperlink in popup doesn't work correctly

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

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

This also happens in the apperyio test browser.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hyperlink in popup doesn't work correctly

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

Return to “Issues”