LEGJS and NOLEGJS (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:LEGJS and NOLEGJS}}
{{DISPLAYTITLE:LEGJS and NOLEGJS}}
<span class="pageSubtitle"><section begin="desc" />and NOLEGJS<section end="desc" /></span>
<span class="pageSubtitle">Enable/Disable use of Javascript in Janus Legacy application</span>


LEGJS and NOLEGJS 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>LEGJS</var> and <var>NOLEGJS</var> are parameters on <var>[[JANUS DEFINE]]</var>, whichs define and sets characteristics of a Janus port.  


Indicates whether or not Janus Web Legacy support is to use '''JavaScript''' in the HTML it sends to browsers. The default of LEGJS means that Janus Web Legacy support '''will''' use '''JavaScript''' in its generated HTML.  
Indicates whether or not <var class="product">[[Janus Web Legacy Support]]</var> is to use ''JavaScript'' in the HTML it sends to browsers. The default of <var>LEGJS</var> means that <var class="product">Janus Web Legacy Support</var> '''will''' use ''JavaScript'' in its generated HTML.  


While almost all browsers correctly support the simple '''JavaScript''' used by Janus Web Legacy support, and this '''JavaScript''' makes the pages generated by Janus Web Legacy support considerably more "friendly", the NOLEGJS parameter can be specified if a site has rules against the use of '''JavaScript''' or if the '''JavaScript''' causes problems with some browsers.  
While almost all browsers correctly support the simple ''JavaScript'' used by <var class="product">Janus Web Legacy Support</var>t, and this ''JavaScript'' makes the pages generated by <var class="product">Janus Web Legacy Support</var> considerably more "friendly", the <var>NOLEGJS</var> parameter can be specified if a site has rules against the use of ''JavaScript'' or if the ''JavaScript'' causes problems with some browsers.  


Before ''[[Sirius Mods]]'' Version 6.0, Janus Web Legacy support did not generate any '''JavaScript''', so the LEGJS and NOLEGJS parameters were not necessary or available.  
The <var>LEGJS</var> and <var>NOLEGJS</var> parameter 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, and they can be overridden on an application level by the like-named parameters in <var>[[$Web_Screen]]</var> calls.  


The LEGJS and NOLEGJS parameter on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, and they can be overridden on an application level by the like-named parameters in $Web_Screen calls.  
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


Valid only for WEBSERV ports.
==See also==
<ul>
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


==References==
See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


[[Category:JANUS DEFINE parameters|LEGJS and NOLEGJS]]
[[Category:JANUS DEFINE parameters|LEGJS and NOLEGJS]]

Latest revision as of 22:17, 16 April 2013

Enable/Disable use of Javascript in Janus Legacy application

LEGJS and NOLEGJS are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port.

Indicates whether or not Janus Web Legacy Support is to use JavaScript in the HTML it sends to browsers. The default of LEGJS means that Janus Web Legacy Support will use JavaScript in its generated HTML.

While almost all browsers correctly support the simple JavaScript used by Janus Web Legacy Supportt, and this JavaScript makes the pages generated by Janus Web Legacy Support considerably more "friendly", the NOLEGJS parameter can be specified if a site has rules against the use of JavaScript or if the JavaScript causes problems with some browsers.

The LEGJS and NOLEGJS parameter on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, and they can be overridden on an application level by the like-named parameters in $Web_Screen calls.

Valid only for WEBSERV ports.

See also