LEGCSS and NOLEGCSS (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Turn on/off use of CSS in Janus Legacy application<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Turn on/off use of CSS in Janus Legacy application<section end="desc" /></span>


LEGCSS and NOLEGCSS are parameters on [[JANUS DEFINE]], whichs define and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>LEGCSS</var> and <var>NOLEGCSS</var> are parameters on <var>[[JANUS DEFINE]]</var>, whichs define and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


Indicates whether or not '''Janus Web Legacy Support''' is to use Cascading Style Sheets in the HTML it sends to browsers. The default (LEGCSS) means that '''Janus Web Legacy Support''' :hp2.will''' use Cascading Style Sheets (CSS) in its generated HTML.  
Indicates whether or not <var class="product">[[Janus Web Legacy Support]]</var> is to use Cascading Style Sheets in the HTML it sends to browsers. The default (<var>LEGCSS</var>) means that <var class="product">Janus Web Legacy Support</var> <b>will</b> use Cascading Style Sheets (CSS) in its generated HTML.  


Almost all browsers correctly support the CSS used by '''Janus Web Legacy Support''', and this CSS makes the pages generated by '''Janus Web Legacy Support''' considerably more "pretty," as well as a more accurate representation of the underlying 3270 screens. The NOLEGCSS parameter can be specified if a site has rules against the use of CSS, the CSS causes problems with some browsers, or the old non-CSS look is deemed preferable.  
Almost all browsers correctly support the CSS used by <var class="product">Janus Web Legacy Support</var>, and this CSS makes the pages generated by <var class="product">Janus Web Legacy Support</var> considerably more "pretty," as well as a more accurate representation of the underlying 3270 screens. The <var>NOLEGCSS</var> parameter can be specified if a site has rules against the use of CSS, the CSS causes problems with some browsers, or the old non-CSS look is deemed preferable.  


Before ''[[Sirius Mods]]'' Version 6.2, '''Janus Web Legacy Support''' did not generate any CSS, so the LEGCSS and NOLEGCSS parameters were not necessary or available.  
Before <var class="product">Sirius Mods</var> Version 6.2, <var class="product">Janus Web Legacy Support</var> did not generate any CSS, so the <var>LEGCSS</var> and <var>NOLEGCSS</var> parameters were not necessary or available.  


The LEGCSS and NOLEGCSS 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.  
The <var>LEGCSS</var> and <var>NOLEGCSS</var> parameters on the <var>JANUS DEFINE</var> can be overridden on a URL basis by the like-named parameters on <var>[[JANUS WEB SCREEN]]</var> rules, or on an application level by the like-named parameters in <var>[[$Web_Screen]]</var> calls.  


Valid only for WEBSERV ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


==References==
==References==

Revision as of 16:31, 27 February 2012

<section begin="desc" />Turn on/off use of CSS in Janus Legacy application<section end="desc" />

LEGCSS and NOLEGCSS are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

Indicates whether or not Janus Web Legacy Support is to use Cascading Style Sheets in the HTML it sends to browsers. The default (LEGCSS) means that Janus Web Legacy Support will use Cascading Style Sheets (CSS) in its generated HTML.

Almost all browsers correctly support the CSS used by Janus Web Legacy Support, and this CSS makes the pages generated by Janus Web Legacy Support considerably more "pretty," as well as a more accurate representation of the underlying 3270 screens. The NOLEGCSS parameter can be specified if a site has rules against the use of CSS, the CSS causes problems with some browsers, or the old non-CSS look is deemed preferable.

Before Sirius Mods Version 6.2, Janus Web Legacy Support did not generate any CSS, so the LEGCSS and NOLEGCSS parameters were not necessary or available.

The LEGCSS and NOLEGCSS 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.