A newer version of this fact exists. (view)
setvar
 

<setvar VarName="VarValue"/>

 

Sets a variable that can be used later. The setvar tag works together with the var tag - setvar defines the variable name and value and later in the script the var tag gets replaced by the variable value. These tags are widely used in the FCS default header.

 

Example:

 

<setvar font_family="Verdana, Arial, Helvetica">

<setvar top_background_color="#FFFFFF">

 

...

 

<table border=0 cellpadding=0 cellspacing=0 width="100%" bgcolor="<var top_background_color>" style="font-family:<var font_family>">

 

...


Metainfo:
Author: Webservices GmbH factline; Copyright: factline Webservices GmbH; Published by: factline GmbH (factline6)
factID: 1249649.2 (...history); published on 27 Oct. 2008 15:06
 
Shortcuts:
 
Referers (1):
var27 Oct. 2008