Personalización básica > User Interface Customization > User Interface Technology Overview > Adding Custom Code to all Windchill Client Architecture Pages > Javascript files
  
Javascript files
To add any custom javascript to all the pages, you should create a new custom jsfrag file. The file needs to be deployed in: codebase\netmarkets\javascript\util\jsfrags
The file can be named custom.jsfrag or any other name that is not already in use.
To include the file in all pages run the combine command. This will make the js available in main.js: Windchill/bin>ant -f jsfrag_combine.xml
CSS Files
To add any custom css scripts to all the pages, modify the netmarkets.presentation.cssFiles property in site.xconf to have the necessary css files included. You can include multiple css files as a comma or semicolon separated list in the value. Note that order is important, and that the files will be loaded after the Windchill style sheets so they will properly override the default styles.
<Property name=" netmarkets.presentation.cssFiles"
overridable="true"
targetFile="codebase/presentation.properties"
value="mypath/mycss.css;mypath/mycss2.css"/>
Adding Custom Code to all Windchill Client Architecture Pages