Change from gradient background on fly in an HTA
- From: XP <XP@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 May 2008 13:46:01 -0700
In an HTA I have the following CSS which initially sets up a gradient
background like so:
body
{
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1,
StartColorStr='#66594C', endColorStr='#69999C');
}
I wanted to be able for the user to change the background to a solid color
on the fly, but the following fails if the gradient is loaded:
document.body.bgcolor = myColor
How can I over ride the gradient and change background colors on the fly?
.
- Follow-Ups:
- Re: Change from gradient background on fly in an HTA
- From: ekkehard.horner
- Re: Change from gradient background on fly in an HTA
- Prev by Date: Re: interact with user dialobbox user e passord
- Next by Date: Re: interact with user dialobbox user e passord
- Previous by thread: active directory question
- Next by thread: Re: Change from gradient background on fly in an HTA
- Index(es):
Relevant Pages
|
|