Image as link - odd behavior

mdslup
Posts: 90

Image as link - odd behavior

Fri Oct 26, 2018 12:33 am

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.
ionela
Posts: 243

Re: Image as link - odd behavior

Fri Oct 26, 2018 4:41 pm

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
Ionela Istodor
oXygen XML Editor and Author Support
mdslup
Posts: 90

Re: Image as link - odd behavior

Fri Oct 26, 2018 8:59 pm

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?
ionela
Posts: 243

Re: Image as link - odd behavior

Mon Oct 29, 2018 12:13 pm

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
Ionela Istodor
oXygen XML Editor and Author Support

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests