WebHelp Frames Redirect Not Working
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 6
- Joined: Thu Mar 17, 2011 5:05 pm
WebHelp Frames Redirect Not Working
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,
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
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: WebHelp Frames Redirect Not Working
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service