You can change the input type and the value if necessary. js file should be named "csh.js." The reference to the JavaScript file should use the following format. Information for Developers How to Use the JavaScript Method for CSH CallsĪdd a reference to the JavaScript file (which is created automatically when the author builds the output). See Excluding JavaScript for CSH Calls in HTML5 Output. If security warnings are displayed during these scans, you may want to exclude JavaScript files from your output. If you use products like Fortify and Veracode to run security scans on your output, having JavaScript files in your HTML5 target might prompt security warnings when scanning it. This option can be found on the Setup tab of the Skin Editor. Then in the JavaScript call you would specify the appropriate skin.Īnother benefit to using the JavaScript method is that it is required in order for the Browser Settings option to take effect. You would set the window size and location in the skin. The JavaScript method prevents this type of behavior by opening the window directly to the size and location you specified. But if you have specified a different size and location for your output window, the window will visibly move and resize accordingly. With the URL method, the browser window automatically starts to open at the same size and location as the previous time that browser window was opened. One reason to choose the JavaScript method is to better control the window size and location. Generally speaking, the JavaScript method lets you have more control, whereas the URL method is a bit more quick and simple. Which Method is Best for You?Įach method has its unique benefits.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |