T
Terrible Tom
First, this isn't *really* a FrontPage question--but I am using Frontpage as
my HTML editor so here goes...
The following code is from the HTML Status Bar--a 'customizable' portion of
the display at the cash register when using the Point of Sale module of
Microsoft's Retail Management Sytem:
<body onload="doStartup()" scroll="no" STYLE="position:absolute; top:0px;
left:0px; width:100%; height:100%; padding:10px; font:bold 13pt verdana;
color:white;
filterrogidXImageTransform.Microsoft.Gradient(GradientType=1,
StartColorStr='#8eb6d9', EndColorStr='#000000')">
What I want to do is make the background & font colors conditional on a
customers credit limit.
Basically, I want to do this:
<if> CreditLimit < 0
<then>
<body onload [see above, except font color = black, gradient starts and ends
with FF0000]>
</then>
<else [default background code above]>
</else>
</if>
But HTML doesn't have an if statement...
Ideas?
Tom
my HTML editor so here goes...
The following code is from the HTML Status Bar--a 'customizable' portion of
the display at the cash register when using the Point of Sale module of
Microsoft's Retail Management Sytem:
<body onload="doStartup()" scroll="no" STYLE="position:absolute; top:0px;
left:0px; width:100%; height:100%; padding:10px; font:bold 13pt verdana;
color:white;
filterrogidXImageTransform.Microsoft.Gradient(GradientType=1,
StartColorStr='#8eb6d9', EndColorStr='#000000')">
What I want to do is make the background & font colors conditional on a
customers credit limit.
Basically, I want to do this:
<if> CreditLimit < 0
<then>
<body onload [see above, except font color = black, gradient starts and ends
with FF0000]>
</then>
<else [default background code above]>
</else>
</if>
But HTML doesn't have an if statement...
Ideas?
Tom