WebHelp Frames Redirect Not Working

Here should go questions about transforming XML with XSLT and FOP.
shanet
Posts: 6
Joined: Thu Mar 17, 2011 5:05 pm

WebHelp Frames Redirect Not Working

Post by shanet »

Using Oxygen 12.1, building WebHelp from DITA...

The generated XHTML topics refer to a javascript function redirectFrames to show the frames and TOC if a topic was opened outside the frames context. But, this function refers to a variable "prefix" that never gets set. At least, in the javascript in my topics, it's being set to "".

Is there a build parameter I can pass to set this variable, or do I need to modify the javascript for this to work?

TIA,
Shane
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: WebHelp Frames Redirect Not Working

Post by Radu »

Hi Shane,

The variable prefix is defined in the:

OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/webhelp/xsl/dita2webhelpImpl.xsl

You can search for var prefix =.

The link was designed to work when the WebHelp is deployed on a Web server.
Indeed when using the WebHelp from the local disk the link does not work properly as it does not explicitly specify the name of the index file. We'll look into this and see if we can improve this behavior.

You can remove the link completely by modifying the stylesheets.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply