Focal Point
[SOLVED] In 8009 AppStudio, How do I include CSS

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5527003986

February 13, 2018, 10:24 AM
Don Garland
[SOLVED] In 8009 AppStudio, How do I include CSS
I am trying to set the class for buttons using custom javascript in the Embedded JavScript/CSS section of App Studio.

The on_click event has the following code.

document.getElementById(buttonname).className = 'btnSelectedx';  


The above should work, but it doesn't seem to see the class and I'm not sure how to reference the CSS file. I've read the manual and searched technical content but there doesn't seem to be a clear reference to this for App Studio. At least clear enough for me to recognize it.

I've placed the file in the app path, content folders and even tried to add it to the onload function ( which locks up the page).

It just doesn't see the class I guess.

Any ideas for this would be much appreciated.

Thank you,

This message has been edited. Last edited by: Don Garland,


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
February 13, 2018, 11:14 AM
Hallway
I just add the custom class name to the Class identifier (CSS) in the button properties:



Then I can add the custom CSS, referencing the added class.




Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
February 13, 2018, 11:32 AM
Hallway
I'm not 100% sure on 8009, I started working with WebFocus in 8105. Is there the option in 8009 to reference css files in the Settings like this?




Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs: