Search found 3 matches
Search found 3 matches
• Page 1 of 1
- by gevinl
- Tue Jul 13, 2021 5:32 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: How to link external javascript file in a DITA-OT HTML5 output
- Replies: 4
- Views: 1091
Re: How to link external javascript file in a DITA-OT HTML5 output
There is a transformation parameter named "args.hdf": https://www.dita-ot.org/dev/parameters/parameters-html5.html#html5__args.hdf you can point it to a file containing inside the "<script src="custom.js"></script>" content. The publishing will not automatically copy t...
- by gevinl
- Mon Jul 12, 2021 6:22 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: How to link external javascript file in a DITA-OT HTML5 output
- Replies: 4
- Views: 1091
Re: How to link external javascript file in a DITA-OT HTML5 output
Hi Radu,
Thank you very much for your suggestion.
Yes, it is really work, and solve my problem.
P.s. I uses the example I found in https://www.dita-ot.org/dev/topics/html ... cript.html to write the XML file for args.hdf. It's working.
Cheers!
Gevin
Thank you very much for your suggestion.
Yes, it is really work, and solve my problem.
P.s. I uses the example I found in https://www.dita-ot.org/dev/topics/html ... cript.html to write the XML file for args.hdf. It's working.
Cheers!
Gevin
- by gevinl
- Fri Jul 09, 2021 12:04 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: How to link external javascript file in a DITA-OT HTML5 output
- Replies: 4
- Views: 1091
How to link external javascript file in a DITA-OT HTML5 output
I would like to add a link to an external JavaScript file in my DITA-OT output HTML5 file, how do I achieve this? |--[js] | |--custom.js |--[css] | |--custom.css |--index.html |--topic01.html |--topic02.html I want to add a line <script src="custom.js"></script> in the <head> tag of an out...
Search found 3 matches
• Page 1 of 1
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