Customizing Web Help JavaScript
Posted: Thu Dec 01, 2016 4:32 pm
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,