opacity

animate opacity out, insert html, animate opacity in

With my jquery I'm trying to make the transition from a message to a loading function easy on the eyes by animate the opasity of the message out, inserting the loading.gif and animating the opacity back in. It fails. $('#powerSearchSubmitButton').click(function(ev) { startLoad(); return false; }); function startLoad() { $('....

How do you properly detect the browser's support for opacity?

I've got some javascript code that applies an alpha transparency. Before it does that it attempts to detect what type of transparency the browser supports and stores that in a variable for use later. Here's what the code looks like: // figure out the browser support for opacity if (typeof br.backImg.style.opacity != 'undefined') op...

Silverlight: Transparent image on button

I would like to use a transparent png file on a silverlight button. In addition I would like the button itself to be transparent so the background (behind the button) shows through. I find that if I set the opacity of the button it also affects the image. I don't want the entire image to be transparent - just the transparent parts of it ...

Is it possible to make text translucent in wxPython?

I am adding some wx.StaticText objects on top of my main wx.Frame, which already has a background image applied. However, the StaticText always seems to draw with a solid (opaque) background color, hiding the image. I have tried creating a wx.Color object and changing the alpha value there, but that yields no results. Is there any way I ...

Is it possible to set a TitledBorder opaque on Swing?

Is it somehow possible on Swing to set a TitledBorder transparent so that a background image shines through? ...

Simply Div Opacity Fade on Focus using mootools

I've got a couple of divs in a page which hold simple HTML & images. The divs each have unique ids. I'd like it so that when the page loads the contents of the div are say, 60% but on mouseover the fade in at 100%. On mouseout they would go back to 60%. The site is built in Joomla 1.5.x so already loads the mootools 1.11 library. I was...

Opacity of background not text

Anyone know how to make cross-browser (inc IE 6) transparancy of background of DIV while the text remains opaque? I need to do it without using any library such as jQUery etc. (but if you know of a library that does it I'd love to know so I can look at their code). ...

Fading issues in Internet Explorer 7 when using jQuery

Hi, I'm using jQuery on a site that I'm working on and everything works fine - except in Internet Explorer 7 (and previous versions, but the site doesn't support them). Take a look at http://dev.staffanestberg.com/fromsweden/ either in Safari or Firefox, then in IE7 and you'll see what I mean. I'm currently using the built-in effect Fad...

Opacity issues in Chrome and IE

Hi.. I am seeing weird behavior in IE 7 and Chrome with changing the opacity on a transparent background png in my navigation. the CSS : ul.tabs a { height: 48px; filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity: 0.8; opacity: 0.8; } div.header ul.tabs a:hover { filter:alpha(opacity=100); ...

Why can't I set the Opacity in this situation?

Here's the situation... at the top level, I have a TabControl. Each page in the TabControl consists of a ListBox: <TabControl> <TabItem Header="item 1"> <ListBox> <ListBoxItem>sub item 1</ListBoxItem> <ListBoxItem>sub item 2</ListBoxItem> <ListBoxItem>sub item 3</ListBoxItem> </Li...

How do I set the opacity of a vertex in OpenGL?

The following snippet draws a gray square. glColor3b(50, 50, 50); glBegin(GL_QUADS); glVertex3f(-1.0, +1.0, 0.0); // top left glVertex3f(-1.0, -1.0, 0.0); // bottom left glVertex3f(+1.0, -1.0, 0.0); // bottom right glVertex3f(+1.0, +1.0, 0.0); // top right glEnd(); In my application, behind this single square exists a colored cube. ...

Why do my semi-opaque vertices make background objects brighter in OpenGL?

I am rendering 4 vertices (a square) in front of a colored cube. The vertices are colored white, but are blended at 0.5f. Related: Why does my colored cube not work with GL_BLEND? Please could someone tell me why the colored cube appears brighter when obscured by the semi-opaque square? Cube rendered without square in front: An...

Onload set divs opacity to 50%

Okay, so I have a site running Joomla and it is using the mootools 1.11 framework. I've fudged together a working version of this using examples from the mootools 1.2 framework but cannot get the two to co-exist even with the compatibility layer, without breaking other modules in the Joomla site. Question I have a couple of divs with a ...

modify oppacity in iBox javascript file

Hi there. I wish to use the iBox plugin but I don't know how to: 1) disable image resize. 2) modify the opacity of the background. I was trying to modify the ibox.js file and I think that opacity starts from line 330. many thx! ...

How do I make textures transparent in OpenGL?

I've tried to research this on Google but there doesn't appear to me to be any coherent simple answers. Is this because it's not simple, or because I'm not using the correct keywords? Nevertheless, this is the progress I've made so far. Created 8 vertices to form 2 squares. Created a texture with a 200 bit alpha value (so, about 80% t...

mouse over transparency in Qt

I am trying to create an app in Qt/C++ with Qt4.5 and want the any active windows to change opacity on a mouseover event... As i understand it, there is no explicit mouseover event in Qt. However, I got rudimentary functioning by reimplementing QWidget's mousemoveevent() in the class that declares my mainwindow. But the mainwindow's mo...

How to bind ControlTemplate Enabled property to Opacity in WPF XAML

In WPF inside XAML how to extend a ControlTemplate as such that when applied to a button and the button gets disabled it fades to 0.5 opacity while disabled and once enabled fades back to 1.0 opacity. This visual effect should work also when a parent is being disabled. ...

CSS: semi-transparent background, but not text

Is there a way in CSS to make the background of an element semi-transparent, but still have the text of the element non-transparent? (Without separating the text and background in two elements positioned over eachother.) I've tried <p style="position:absolute;background-color:green;filter:alpha(opacity=60);opacity:.6;"><span style="colo...

WPF - How to capture when CTRL+SHIFT are pressed down?

When the user clicks left CTRL+ left SHIFT I want to make the entire application translucent (like VS2008's intellisense drop-down). If I write my code on the KeyUp event I can capture both keys being pressed, but the transparency effect should only be active while the keys are pressed. When they are release the opacity should go back to...

Splash-screen with alpha channels transparency/opacity in WinForms

How to implement a splash-screen using an image with alpha channels transparency/opacity in WinForms? ...