opacity

Precise OpacityMask

Suppose I need to set an opacity mask on a WPF control that highlights a portion of it in precise position (suppose a 50x50 square at (50;50) position). To do that I create a DrawingGroup containing 2 GeometryDrawing objects: 1 semi-transparent rectangle for the whole actual size of the control and 1 opaque rectangle for highlighted area...

Jquery Fade out Transparency In IE

I'm working on a site and I have run into a few problems. Here is the site: http://wesbos.com/tf/shutterflow/?cat=1 I have two divs. .slide and .cover. .cover fades in and out when hovered over displaying some text and a transparent background. This is done with Jqery and the transpareny is with CSS. This works fine on load in all ...

winforms opacity problem

Hi I want to set opacity for a form in page load. I try to set the opacity like this this.Opacity = 10; in paage load but it is not working. May i know the reason ...

Transparent avi in WPF MediaElement

I have a mediaelement tag in my wpf-window. It's playing a simple animation, similar to the windows xp copy file dialog. The animation has an ugly pink background #FF00FF, that I want to be transparent. I've tried setting the color in the OpacityMask attribute, but the color remains. Any ideas on how I can remove the color from the vide...

jQuery: child-element disappears with $('.parent_class') opacity effects in IE

I have this html: <div class="foo parent"> <div class="child"></div> </div> with some css: .foo{ position:absolute; left: -117px; background:#000000 none repeat scroll 0 0; color:#FFFFFF; z-index:8; } .parent{ top:23px; width:100px; height:30px; ...

jQuery opacity animation distorting positioning in Internet Explorer

I'm trying to implement a click-like effect on my horizontal tab menu using opacity property and jQuery animate function. Here is the code for doing this: $(document).ready(function() { $("div#header > ul > li").click(function(event) { $(this).animate({opacity: 0.7} ,"fast", "", function() { $(this).animate...

How to animate Opacity of a DropShadowEffect?

I have a WPF project with a border using the following style. The plan is to get the glow effect to fade in when the mouse moves over the border, and fade out when it leaves. <Style.Resources> <Storyboard x:Key="GlowOn"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(DropShadowEffect.Opaci...

Div background transparent

Hello, I have to make shadow-effect for my some block. I got transparent image width gradient from dark to transparent and use it in another div (width=100; repeat-x). But there are another elements under this shadow and they aren't shown, I see just white area at that place. How can I get transparent part of background image? ...

transparent gif help

Hi, I have a website that I need to make some images that are colored, with a 45% opacity, so you can see through to the background. My problem is that for obvious reasons I cannot use a .png. I have used a gif. When I get it on the site, the opacity has read as far as the color, but you cannot see through it. How do I make this happen ...

Jquery opacity change

I have this code: $('a[rel="imagesHandler"]').hover( function(){ //ia latimea var liWidth = $(this).width(); $(this).append('<div id="editBar"><a id="delPic" href="#"><img id ="piDe"src="./images/pic_del_icon.png" alt="" /></a></div>'); $('div#editBar') .css({ 'width':liWidth - 3, ...

How do you define an opaque struct array in C?

I have code in my header file that looks like: typedef struct _bn bnode; I can do bnode b; just fine, but b[i], where i is an int gives me the following error: invalid use of undefined type ‘struct _bn’ Any ideas? ...

Jquery animation: Making PNG Transparency fixed DIV animate opacity?

Page in question: http://www.chrishanel.com/CMS The following works in IE7, but doesn't in IE8: HTML: <div id="shell"> <div id="quote"> <!--[if IE]> <div id="quoteie8" style="align:center;position:relative;opacity:1.00;text-align:center;height:144px;width:337px;margin:auto;filter:progid:DXImageTransform.Microsof...

Is it possible to have an opacified background layer which doesn't opacify its children ?

Let say I've this code : <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>Layers Opacity</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ...

C# - Form opacity is always 100%

For some reason, my form is always at 100% opacity. I've tried changing it by using the properties window. For example, I changed it to 40% but when I ran the program, it is 100%. Are there any known reasons for this? I've looked throughout my entire code and nothing is changing it to 100%. Thanks. ...

IE border on opacity change

Hi, when I want to animate a semi transperant image with jquery (e.g. a div with a background who has a shadow) every element who is semi transperant seems to have a black border arround it in IE (6 - 8) an example of the code is: $(".prevPage").animate({ opacity: "1" }, 250); $(".nextPage").animate({ opacit...

Use UIElement as Clip in WPF

Please pardon my ignorance- I'm very new to WPF. I am looking to implement a minor, visual effect in my application that gives the look of "inner" rounded corners. The window in question has a dark border that encapsulates several UIElements, one of which is a StatusBar, located at the bottom of the window. This StatusBar has a dark bac...

C# Transparent Form in Panel

Hi there, im trying to create a semi-transparent form which is displayed in a panel. i can display the form in the panel but the opacity property wont work and the form is non-transparent. private void button1_Click(object sender, EventArgs e) { Form fr = new Form(); fr.FormBorderStyle = FormBorderStyle.None; fr.BackCo...

Opacity of a TWinControl?

How could one change the opacity of a TWinControl based control? And why didn't they add this capability to TControl/TWinControl level (why only TForm)? ...

Cross browser Opacity

I have a very simple requirement, make a link look disabled. Why is it this hard?? .disabled { -moz-opacity:.50; -ms-filter:"alpha(opacity=50)"; filter:alpha(opacity=50); opacity:.50; } Is my style. I have applied it to an li...but in IE7 it just does nothing. FF and IE8 it seems to work in, but IE7 is just rubbish Any clues...

jquery globalcss IE opacity

I'm using a jquery globalcss plugin to change global stylesheets. It doesn't handle opacity and IE. I've been trying to get it to work with no luck. Here's my attempt to force the plugin to try to understand IE style opacity. function changeCss (property, value, target) { if (property === "opacity") { $(target).globalcss("filt...