How to add or render html page or any window after a click in oxygen
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 93
- Joined: Mon Aug 08, 2022 2:32 pm
How to add or render html page or any window after a click in oxygen
Post by SmitaPatil »
Hi Team,
I want to load some custom html code [new html page or window on same page] on click of button but I am unable to do it. Can you please suggest a way to use our custom html code and integrate it with oxygen web author?
Thank you,
Smita
I want to load some custom html code [new html page or window on same page] on click of button but I am unable to do it. Can you please suggest a way to use our custom html code and integrate it with oxygen web author?
Thank you,
Smita
-
- Site Admin
- Posts: 95
- Joined: Thu Jun 09, 2016 2:01 pm
Re: How to add or render html page or any window after a click in oxygen
Post by Gabriel Titerlea »
Hello,
What are you trying o achieve? Depending on your answer we may recommend a different approach.
You can find instructions for how to load custom javascript code in Web Author here [1].
Best,
Gabriel
[1] https://www.oxygenxml.com/doc/versions/ ... lugin.html
What are you trying o achieve? Depending on your answer we may recommend a different approach.
You can find instructions for how to load custom javascript code in Web Author here [1].
Best,
Gabriel
[1] https://www.oxygenxml.com/doc/versions/ ... lugin.html
-
- Posts: 93
- Joined: Mon Aug 08, 2022 2:32 pm
Re: How to add or render html page or any window after a click in oxygen
Post by SmitaPatil »
Hi Gabriel,
I want to display one custom popup after clicking on button. so I have doubt that how can I add that html file for popup is there any way to configure it.
instead of creating html element as shown below, I want to it to popup window in separate html file and load it in oxygen.
Thanks,
Smita
I want to display one custom popup after clicking on button. so I have doubt that how can I add that html file for popup is there any way to configure it.
instead of creating html element as shown below, I want to it to popup window in separate html file and load it in oxygen.
Thanks,
Smita
- Attachments
-
- image.png (24.54 KiB) Viewed 689 times
-
- Site Admin
- Posts: 95
- Joined: Thu Jun 09, 2016 2:01 pm
Re: How to add or render html page or any window after a click in oxygen
Post by Gabriel Titerlea »
Hello,
Best,
Gabriel
[1] https://www.oxygenxml.com/maven/com/oxy ... og__anchor
[2] https://github.com/oxygenxml/web-author ... i-with-css
You can open a dialog using the workspace.createDialog [1] API.I want to display one custom popup after clicking on button
To avoid all that styling code, you can populate the dialog with DOM elements that can be styled using CSS [2].instead of creating html element as shown below
Best,
Gabriel
[1] https://www.oxygenxml.com/maven/com/oxy ... og__anchor
[2] https://github.com/oxygenxml/web-author ... i-with-css
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