Page History
...
JavaScript (JQuery and Bootstrap.js)
Warning |
---|
This script example features JSON parsing. The JSON structure in CTS2 1.0 was non-standard and will not be compatible with the standardized JSON in CTS2 1.1. |
- Download JQuery 1.10.x
and Bootstrap 3.0.xMultiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to Include Multiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to Include - Create a CTSRest directory for your files
- Add directories bootstrap and cts2 to this root
- Add subdirectories js and css to both directories you've just created
- Add bootstrap.js to the bootstrap/js directory
- Add bootstrap.min.css to the bootstrap/css directory
- Add jquery-1.10.2.js to the cts2/js library
- Create a codeSystem.js text file and add the following text (adjust the serviceUrl to point to a convenient CTS2 service)
...