opacity

How to fix IE ClearType + jQuery opacity problem in this script?

Hello, I'm having a rather common problem (or so it seems, after some googling around...) with IE messing both bold text AND transparent pngs while animating opacity using jQuery. You can view the sample here: http://dev.gentlecode.net/dotme/index-sample.html (only occurs in IE, obviously) I've seen some blog posts saying the fix is to...

JQuery.ready is too late: How do I apply CSS Values with JQuery before Rendering?

I want to be able to apply opacity to some elements to make them invisible only if javascript is enabled. I don't want to use display:none because I want the layout to act as if they're in the DOM, so setting opacity to 0 is perfect. I want to be able to set this initial value using Javascript, using JQuery, so I don't have to mess wit...

On XP, how do I get the tooltip to appear above a transclucent form?

I have an form with an Opacity less then 1.0. I have a tooltip associated with a label on the form. When I hover the mouse over the label, the tooltip shows up under the form instead of over the form. If I leave the Opacity at its default value of 1.0, the tooltip correctly appears over the form. However, my form is obviously no long...

IE8 rendering of local-files is wrong

It appears that IE8 is not rendering properly a local file: Consider this simple webpage: http://sayang.free.fr/ie8render.html (html code below) extracted from a w3c tutorial on opacity. Save it locally and display it again: the local file has no opacity! That's very annoying, especially when one wants to design complex pages on proto...

What has bigger priority: opacity or z-index in browsers?

Hi, I'm coding a "popup window" in javascript and I've come across an interesting thing: http://img91.imageshack.us/img91/4761/error01cropped.png - the navy square under the popup window is visible even though I would expect it to be hidden. The popup was added after the square so it should be on the top. CSS opacity property of the na...

How to Set Opacity (Alpha) for View in Android

I have a button as in the following: <Button android:text="Submit" android:id="@+id/Button01" android:layout_width="fill_parent" android:layout_height="wrap_content"></Button> In my onCreate event, I am calling Button01 like this: setContentView(R.layout.main); View Button01 = this.findViewById(R.id.Button01); Button01.setOnClickLis...

Setting opacity on a PyGTK label

Is there a way to make a PyGTK widget partly transparent, so that the widgets behind it can be seen through it? Specifically I'm trying to do this on a label, for typographic effect; I don't want to change the color instead, as it may not look right on all themes. ...

scroll function jquery

I have a fixed header. i want to change the opacity when i scroll down and restore the opacity when i scroll up (at top of the page) i write down this simple script: $(window).scroll(function () { if(scrollY == 0){ $("#header").animate({ opacity: 1 }, 1000); } if(scrollY > 0){ $("#header").animate({ opacit...

Unable to use opacity animation w/ position:relative on children

Consider the following (applies to all IE6+ browsers -- including IE8): <div id="picture"> <div class="thumb" style="position: relative;"><img .. /></div> <p>Some description</p> </div> When I animate the opacity down to 0 it only works if I change the .thumb class to position: static. This has bigger problems because I use that...

Reducing the opacity on a div without reducing the opacity of the contents

Want to reduce the opacity of page contents container background without reducing the opacity of the contents. <div id="container"> <div id="page contents"> page contents goes here, like amazing articles and all that. </div> </div> Needs to be able to expand with the content, thus can't have a fixed height. Absolute position...

IE8 problems with .animate() of opacity property - descendant remains opaque throughout

Basically I have something like this: <ul> <li> <a> <div class="trigger-layer"></div> <div class="title-layer">Text here</div> <div class="hover-layer"></div> </a> </li> </ul> I use jQuery to animate the <ul> as follow: $ul = xxx (where I assign the selector to var $ul) $ul.animate({opacity: 0}, 1000, function() {$ul.css("display", ...

css opacity not working in IE7

I have this test page : http://jsfiddle.net/VWnm9/7/. The image is correctly faded on all my computers running IE7 or IE8, except for one computer that runs IE7 and doesn't fade the flower, even in noext mode. The page is : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;...

Applied style in WPF ignores properties.

Here's the conundrum. In two different places in my application, I use a border with the exact same appearance. In an never-ending fight against code bloat and unmanageable code, I want to define the border's appearance in a style to use when I create the border. Strangely, several of the properties I set are being ignored. Here's the c...

In jQuery, can you get the "target" opacity of an element that is fading?

I'd like to somehow get the target opacity (the final value it is being animated to) of an element that is fading. For example... $('body').fadeTo(0.4); // 0.4 $('body').fadeIn(); // 1 $('body').fadeOut(); // 0 $('body').animate({ opacity: 0.7 }); // 0.7 Is this doable in jQuery? Update For some background, see my answer here on St...

Image Cropper UI has white / opaque crop area on ONE machine using IE 8

We are using Defusion.org.uk's Image Cropper UI. It's working fine on all versions of IE/Firefox/Safari, with ONE exception... one machine that I tried it on tonight shows a white area where the transparent crop area should be displayed. Strangely enough, we've tried this on other machines running the same (most recent) version of IE 8...

Transperant Windows In windows mobile using C#

Hi all, I am trying to create a windows mobile application in which i want to show a confirmation window on the top of the main window ( Ex: Quit application / Updating Information). for this i want to put a transparent window on top of the current window. It's more of a Opacity effect. Can anyone give me some glue on how to do this? T...

jQuery: Can you find the selected element's opacity with jQuery?

I have a filter running on a set of list elements which fades the lesser desirable elements down to 0.25 opacity but I'd love to have their opacity return to 1 and then back down to 0.25 on hover over and out. Is this fairly simple to do? I'm only having trouble finding a way to grab the selected element's current opacity so I can store...

Remove MPMoviePlayerController

I am using the MPMoviePlayerController to play a movie from the web. Depending on the table row selected a different movie is loaded. However, i would like the MPMoviePlayerController to disappear (or hide itself), once a new row is selected. Here is the code that gets called to play my movie and to, eventually, hide it - (IBAction) pl...

How set opacity on QGraphicsItem

Hello, i have a inherited from QGraphicsScene and QGraphicsItem to create my own classes. I use Qt 4.6. I want to set a specific opacity on each items of my scene. I use setOpacity : setOpacity method, but its not the result i hope. I want to have for example one item opaque and an other transparent (to see the desktop, or the other ap...

JWindow with Black Opacity

I would like to create a JWindow that's not only has an opacity, but I want to change the default color of the opacity within Swing. So for example, if I write: AWTUtilities.setWindowOpacity(this, 0.5f); This will make do exactly what I want with one exception, the color is white. How can I make the color become black? I've tried ev...