opacitymask

“Disabling” an HTML table with Javascript

跟風遠走 提交于 2019-12-03 07:08:04
I've seen this done in a lot of sites recently, but can't seem to track one down. Essentially I want to "disable" an entire panel (that's in the form on an HTML table) when a button is clicked. By disable I mean I don't want the form elements within the table to be usable and I want the table to sort of fade out. I've been able to accomplish this by putting a "veil" over the table with an absolutely positioned div that has a white background with a low opacity (so you can see the table behind it, but can't click anything because the div is in front of it). This also adds the faded effect that

WPF GroupBox Header Customization

佐手、 提交于 2019-12-01 10:58:35
I have edited the standard GroupBox template as I wanted to customize it. Apart from other customizations, I wanted the GroupBox header to be Horizantally aligned in the Center instead of Left or Right. The alignment of the Header is not a problem however, the real problem is the OpacityMask defined for the Border controls. The opacity mask sets the transparent space behind the groupbox header where the borders are not drawn. I haven't able to figure it out how to place the transparent space / gap behind the groupbox header when I set the header to the center. Here is how my XAML looks like:

Google Map V3 .png groundoverlay opacity

不羁的心 提交于 2019-11-29 07:44:52
I have created my first Google Map API with png overlays (thanks to @andresf for assistance). This map has multiple png ground overlays adjacent to each other and can be seen at http://www.earthstation.mobi/coverage.htm Question: How do I set the opacity (transparency?) on each overlay so that I can see the map detail under the overlay? I do not need to adjust this from the webpage, a preset coded into the script will suffice. The code of the page listed above is: <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3