Customizing Web Help JavaScript
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 116
- Joined: Fri Apr 08, 2011 7:58 am
Customizing Web Help JavaScript
Hi,
This is newbie question.
Current Web Help Responsive output supports slideToggle animation for the section title. As you know the default behavior is expanded. When a user clicks the button aside the title, the section contents are collapsed.
My user request is to set the default status to be collapsed. This is because the user can select the contents by clicking the button as they like.
In my examination this code is written in webhelp-responsive\oxygen-webhelp\template\resources\js\wt_expand.js. I manually modified the code and confirmed that it is possible to set default status collapsed.
My question is for this customization. Can I perform this JavaScript customization from the outside? (Not modify Web Help Plug-in directly by myself) Or should I create the new plug-in that imports the Web Help plug-in?
I'm waiting for your reply.
Regards,
This is newbie question.
Current Web Help Responsive output supports slideToggle animation for the section title. As you know the default behavior is expanded. When a user clicks the button aside the title, the section contents are collapsed.
My user request is to set the default status to be collapsed. This is because the user can select the contents by clicking the button as they like.
In my examination this code is written in webhelp-responsive\oxygen-webhelp\template\resources\js\wt_expand.js. I manually modified the code and confirmed that it is possible to set default status collapsed.
My question is for this customization. Can I perform this JavaScript customization from the outside? (Not modify Web Help Plug-in directly by myself) Or should I create the new plug-in that imports the Web Help plug-in?
I'm waiting for your reply.
Regards,
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Customizing Web Help JavaScript
Post by radu_pisoi »
Hi,
You can contribute additional JavaScript resources to change the default WebHelp behavior.
You can find more information about this task our user manual:
* Adding Custom HTML Content in WebHelp Responsive Output
* Copying Additional Resources to WebHelp Output Directory
You can contribute additional JavaScript resources to change the default WebHelp behavior.
You can find more information about this task our user manual:
* Adding Custom HTML Content in WebHelp Responsive Output
* Copying Additional Resources to WebHelp Output Directory
Radu Pisoi
<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
-
- Posts: 116
- Joined: Fri Apr 08, 2011 7:58 am
Re: Customizing Web Help JavaScript
Hi Radu,
Thank you for your information about customization.
I realized that it is possible to add my JavaScript customization as described in your link.
Regards,
Thank you for your information about customization.
I realized that it is possible to add my JavaScript customization as described in your link.
Regards,
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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