Customizing responsive webhelp: adding an imagemap to the tiles

Hi oXygen users I'm generating responsive webhelp from DITA content and I'd like to add an imagemap to the tiles. I have already found this topic, which describes how to add an image, but can something like this also be done with an imagemap so when the user clicks the image itself, he or she will jump to a specific URL? https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/whr-configure-t... Thanks Yves

Hi, The single solution for this use case is to add an XSLT extension point that allows you to overwrite the tiles generation. The XSLT extension that allows you to overwrite the templates used to generate the main page is: /com.oxygenxml.webhelp.xsl.createMainPage:/
https://www.oxygenxml.com/doc/versions/20.1/ug-webhelp-responsive/topics/whr...
The template that generates the main page is /<xsl:template match="toc:topic" mode="create-tiles">/. It is located in the /${DITA-OT-DIR}/plugins/com.oxygenxml.webhelp.responsive/xsl/template/mainPageComponentsExpander.xsl///folder. The publishing template allows you to specify one or more XSLT extension points, please see the following topic:
https://www.oxygenxml.com/doc/versions/20.1/ug-webhelp-responsive/topics/whr...
Regards, Radu -- Radu Pisoi <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 11/27/2018 2:58 PM, Yves Barbion wrote:
Hi oXygen users
I'm generating responsive webhelp from DITA content and I'd like to add an imagemap to the tiles. I have already found this topic, which describes how to add an image, but can something like this also be done with an imagemap so when the user clicks the image itself, he or she will jump to a specific URL?
https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/whr-configure-t...
Thanks
Yves
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Oxygen XML Editor Support (Radu Pisoi)
-
Yves Barbion