OT- javascript question removing style settings
From: Don Russell (fedora_at_drussell.dnsalias.com)
Date: 10/10/05
- Previous message: George N. White III: "Re: Yum problem!!!"
- Next in thread: Jim Higson: "Re: OT- javascript question removing style settings"
- Reply: Jim Higson: "Re: OT- javascript question removing style settings"
- Reply: peter kostov: "Re: OT- javascript question removing style settings"
- Reply: Don Russell: "Re: OT- javascript question removing style settings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 10 Oct 2005 11:46:47 -0700 To: Fedora-List <fedora-list@redhat.com>
I'm running out of technical resources... I can't find an answer on
google, and my O'Reilley's JavaScript book doesn't have the answer
either... :-(
I can set a background color of an element like this:
this.style.backgroundColor='red';
but how can I *remove* that style? Obviously I can change it to a
different color, I want to actually remove the style setting altogether.
this.style.removeProperty('backgroundColor');
did not have the desired effect... no change, but no javascript error in
the javascript console either (firefox 1.0.7)
Any ideas on how to *remove" a style setting... or is there a "special"
color like transparent?
this.style.backgroundColor='transparent';
Thanks for any ideas....
Don Russell
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: George N. White III: "Re: Yum problem!!!"
- Next in thread: Jim Higson: "Re: OT- javascript question removing style settings"
- Reply: Jim Higson: "Re: OT- javascript question removing style settings"
- Reply: peter kostov: "Re: OT- javascript question removing style settings"
- Reply: Don Russell: "Re: OT- javascript question removing style settings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|