Make Web Help Context Help work without JavaScript
Are you missing a feature? Request its implementation here.
-
- Posts: 1
- Joined: Wed May 13, 2015 4:17 pm
Make Web Help Context Help work without JavaScript
It would be useful to be able to deploy Web Help on a local machine without a HTTP server.
Sadly, Internet Explorer and many other browsers block JavaScript from local files.
That entirely breaks context help.
For this reason and for other script averse situations it would be nice if
Web Help worked fully without JavaScript.
One way to implement this would be to generate a redirection page for each id.
It would redirect to the topic the id concerns using a refresh tag.
http://en.wikipedia.org/wiki/Meta_refresh
You could even make the tree navigation work without JavaScript.
http://www.thecssninja.com/css/css-tree-menu
Might require extra XSLT trickery to make the current page always be folded open when you navigate to it, though.
Sadly, Internet Explorer and many other browsers block JavaScript from local files.
That entirely breaks context help.
For this reason and for other script averse situations it would be nice if
Web Help worked fully without JavaScript.
One way to implement this would be to generate a redirection page for each id.
It would redirect to the topic the id concerns using a refresh tag.
http://en.wikipedia.org/wiki/Meta_refresh
You could even make the tree navigation work without JavaScript.
http://www.thecssninja.com/css/css-tree-menu
Might require extra XSLT trickery to make the current page always be folded open when you navigate to it, though.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Make Web Help Context Help work without JavaScript
Hi,
We will look into this but we have quite a lot of Javascript functionality (for example we also need JS for the search part).
If you are using Oxygen 17 to produce WebHelp, the output folder should contain an XML file called context-help-map.xml which maps each topic ID to the corresponding HTML document. So hypothetically you could create an XSLT 2.0 stylesheet, apply it over the XML file and use the result-document function to produce for each ID an HTML document with that redirect refresh metadata in place.
Also in the output folder there is an "index_frames.html", it still uses Javascript in some places but it is better suited for offline use.
Regards,
Radu
We will look into this but we have quite a lot of Javascript functionality (for example we also need JS for the search part).
If you are using Oxygen 17 to produce WebHelp, the output folder should contain an XML file called context-help-map.xml which maps each topic ID to the corresponding HTML document. So hypothetically you could create an XSLT 2.0 stylesheet, apply it over the XML file and use the result-document function to produce for each ID an HTML document with that redirect refresh metadata in place.
Also in the output folder there is an "index_frames.html", it still uses Javascript in some places but it is better suited for offline use.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Re: Make Web Help Context Help work without JavaScript
Post by urbanrobots »
We also experience issues with JavaScript browser support. We tell people to use FF or Chrome, but our users in China mostly use IE.
Any chance that this will be updated to an optional configuration in a later release?
Thanks,
- Nick
Any chance that this will be updated to an optional configuration in a later release?
Thanks,
- Nick
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Make Web Help Context Help work without JavaScript
Hi Nick,
What specific issues are you experiencing with JavaScript?
Have you tried 'index_frames.html' (instead of 'index.html')?
As my colleague mentioned, if you are working with offline/local WebHelp, this is better suited for that purpose.
Regards,
Adrian
What specific issues are you experiencing with JavaScript?
Have you tried 'index_frames.html' (instead of 'index.html')?
As my colleague mentioned, if you are working with offline/local WebHelp, this is better suited for that purpose.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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