Page 1 of 1

Image as link - odd behavior

Posted: Fri Oct 26, 2018 12:33 am
by mdslup
Here is my DITA code to turn an image into a link.

<xref
href="https://www.google.com"
format="html"
scope="external">
<image
href="images/google-play-badge.png"
id="image_oqh_nfz_4fb"/>
</xref>

In the generated HTML, clicking the image opens the link in a new tab/window, which is what I want. But, in the current window, it opens a large version of the image. I traced this back to a javascript event listener that is added by jquery-3.1.1.min.js.

How can I disable the behavior of opening a large tab in the current window, while maintaining the functionality of opening the link in a new tab?

Thanks.

Re: Image as link - odd behavior

Posted: Fri Oct 26, 2018 4:41 pm
by ionela
Hello,

Thank you for feedback.

I confirm this is a bug in the current WebHelp Responsive implementation. I have logged it to our issue tracking tool in order to be analyzed and resolved by our development team.
We'll update the thread when the bugfix becomes available.

Regards,
Ionela

Re: Image as link - odd behavior

Posted: Fri Oct 26, 2018 8:59 pm
by mdslup
That's a relief actually...I was afraid that I'd forgotten how to do basic editing :)

Thanks for letting me know. If a nightly build becomes available that fixes this bug, can you please let me know?

Re: Image as link - odd behavior

Posted: Mon Oct 29, 2018 12:13 pm
by ionela
Hi,

I've added your comments to our issue tracking tool, so we'll contact you by email when a nightly build contains this bugfix.

Regards,
Ionela

Re: Image as link - odd behavior

Posted: Mon Feb 25, 2019 5:33 pm
by sorin_carbunaru
Hi,

Just wanted to let everyone know that this was fix in oXygen 20.1, and it's of course also fixed in the newly released oXygen 21.

Best wishes,
Sorin Carbunaru
oXygen XML