Activate/desactivate alternate CSS with javascript

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
NicoAMP
Posts: 100
Joined: Tue Mar 06, 2018 2:07 pm
Contact:

Activate/desactivate alternate CSS with javascript

Post by NicoAMP »

Hello,

Does someone know if it's possible to activate/desactivate an alternate CSS defined in an framework extension script directly with javascript (for Oxygen Web Author usage) ?

Code: Select all

<addCss path="css/my-alternate.less" position="before" alternate="true" title="+ My alternate"/>
Thanks for any help.
Regards,
Nicolas
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com