CSSINSP, NOCSSINSP, and AUTOCSSINSP (JANUS DEFINE parameters)

From m204wiki
Revision as of 16:01, 8 March 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:CSSINSP,}} <span class="pageSubtitle"><section begin="desc" />NOCSSINSP, and AUTOCSSINSP<section end="desc" /></span> CSSINSP, is a parameter on JANUS DEFINE,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin="desc" />NOCSSINSP, and AUTOCSSINSP<section end="desc" />

CSSINSP, is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.


Indicates whether or not Janus Web Legacy support is to insert a space to represent the attribute byte on a 3270 screen. An attribute byte appears before any input field and appears as a protect-space character on a 3270 screen. Netscape Navigator inserts a space before every input field anyway, so if Janus Web Legacy support inserted its own space, there would be one more space than on the 3270 screen, throwing off alignment. All other browsers don't insert a space before input fields, so if Janus Web Legacy support didn't insert its own space, there would be one fewer space than on the 3270 screen, and alignment would be thrown off.

CSSINSP forces insertion of a space before input fields (the correct behavior for browsers other than Netscape Navigator). NOCSSINSP prevents insertion of a space before input fields (the correct behavior for Netscape Navigator). AUTOCSSINSP, the default, determines whether the browser is Netscape Navigator or not and does the empirically determined correct thing on that basis.

The default of AUTOCSSINSP is probably alright for most purposes, but it can be overridden if evidence comes to light that contradicts the behavior described here.

This parameter was not available before Sirius Mods Version 6.2.

The CSSINSP, NOCSSINSP, and AUTOCSSINSP parameters on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, or, on an application level, by the like-named parameters in $Web_Screen calls.

Valid only for WEBSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.