transparency

semi transparent div in a webpage

Hey am developing a website where i want to display a div with a semi transparent background so that the page background is visible. i want this to work on all browsers. am fine using CSS , JS or jquery... please give me suggestions and if possible some sample code.. Thanks in advance, Raj ...

How to paint fully transparent pixels/points in P2D mode?

According to the Processing Reference, stroke(gray, alpha) allows to set the color and opacity of the stroke. With the default color mode, an alpha value of 255 denotes full opacity, while a value of 0 should correspond to complete transparency. While this works with the (default) JAVA2D renderer, I can't seem to paint fully transparent ...

WinForm Controls + Transparency

Hi everyone, Don't be frightened by the length of the post, it should be pretty straightforward. I'm just trying to be very speciffic, because lots of people have misunderstood me when I explained the problem before. I looked around for a solution to this, but I didn't quite find what I'm looking for. . I'm trying to set the transpa...

How to change the opacity (alpha, transparency) of an element in a canvas element after it has been drawn?

Using the HTML5 <canvas> element, I would like to load an image file (PNG, JPEG, etc.), draw it to the canvas completely transparently, and then fade it in. I have figured out how to load the image and draw it to the canvas, but I don't know how to change its opacity once it as been drawn. Here's the code I have so far: var canvas = do...

Silverlight Transparency

Question: Can a constituent UserControl be transparent in parts for it's external container? Details: I have a dialog that I'd like to pull into a separate UserControl. The control contains a Border with a background that has an alpha transparency with a Grid inside it that has a white background and all the content. In xaml markup, i...

Make a Silverlight 3 control transparent background

Need to make my Silverlight control transparent to the underlying HTML. Am doing it the way I've seen it done before but something's not jiving... <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640px" height="296px"> <param name="source" value="ClientBin/slvStartPage.xa...

jQuery Background Canvas transparency

Hi. I'm using the jQuery Background Canvas plugin and have created a DIV with rounded corners and a gradient effect. However, I'm unable to get the transparency to work. What am I doing wrong? Here's the JavaScript: $(document).ready(function() { $(".Test").backgroundCanvas(); $(".Test").makeElementTransparent("#CECFCE"); $(".Test").bac...

Transparent background in grouped UITableView - iPhone

Hello. I want to make the grouped UITableView transparent. I partially succeded with the following code: UIColor *bgColor = [[UIColor alloc] initWithWhite:1 alpha:0.0]; historyTable.backgroundColor = bgColor; Unfortunately, black corners appeared in the rounded cells. How to get rid of them? ...

Transparent image - is it possible in JS?

Is it possible to set transparency of any image in javascript? And how can I do that? ...

OpenGL DECAL Texture on a Transparent Quad?

Hi, I have an OpenGL texture with transparent and opaque pixels (eg, texture contains a circle, area outside the circle is transparent with alpha of 0.0). I'm mapping this texture to a simple quad using GL_DECAL mode, and it works-- the transparent parts of the texture are invisible, and I see my circle against the background of the qu...

How to draw semi-transparent text on a graphics object?

I want to draw a text with 32 bit transparency on a graphics object. When I try, I only get black color in the result. If I try to draw a line with the same semitransparent color, it works perfectly. I have this code: lBitmap As New Bitmap(32, 32, PixelFormat.Format32bppArgb) lGraphic As Graphics = Graphics.FromImage(lBitmap) lGraphi...

How do I make silverlight button transparent while showing the image?

I have a button that is programatically created, it's content is a stack panel with an image and a textblock. This all works great. I want to make the button behind the image and text transparent, so that the image and text looks like it's sitting on the background, but still have all the properties of the button (i.e. someone clicks i...

Is there a way to make TRadioButton be Transparent?

I'm using delphi 2010 ...

How to have a transparent <div> with a non-transparent <div> overlaying it?

I have a simple on my page with the opacity being set to 0.5. The problem is, the text inside that is also going transparent. How do I correct that? Do I make another div and place it on top the transparent one? If so, how to do that? Here is the code I have. The "header" div is position: relative. The others are absolute. The opacity...

How do you create a transparent truecolor PNG with Perl & GD?

It seems like a trivial problem, but nothing I've tried will make the background transparent. use strict; use warnings; use GD GD::Image->trueColor(1); my $im = new GD::Image(100, 100); my $clear = $im->colorAllocateAlpha(255, 255, 255, 127); my $black = $im->colorAllocateAlpha(0, 0, 0, 0); $im->alphaBlending(0); $im->filledRectangle...

PHP GD Text Transparency..

Hello, I can't slove this. I'm trying to make a text transparency but doesn't work.. Here how it looks: qshort.com/userbar/gd.php Here how if possible to show with transparency: qshort.com/userbar/transparent.png Is that possible? Here my PHP Code: <?php header('Content-type: image/png'); $im = imagecreatefrompng("signature.png"...

Enabling Direct3D-specific features (transparency AA)

Hello. I am trying to enable transparency antialiasing in my Ogre-Direct3D application, but it just won't work. HRESULT hres = d3dSystem->getDevice()->SetRenderState(D3DRS_ADAPTIVETESS_Y, (D3DFORMAT)MAKEFOURCC('S', 'S', 'A', 'A')); /// returned value : hres == S_OK ! This method is taken from NVidia's technical report. I can enable t...

Program to create window transparency in XP

I'm looking for a program to create window transparency within Windows XP; somewhat like Glass2K. I've used Glass2K and found it extremely processor intensive and would like to try something else. The application needs to act upon the current Windows Theme rather than be a theme itself like Aero Glass. ...

Transparent JFrame background

Is it possible to make a JFrame that has a transparent background and draw an image on it, so only the image will be visible with no border or background? ...

C# Winforms Transparent Control allowing Clickthrough

I have a problem, a bit related to: http://stackoverflow.com/questions/855826/c-winforms-transparent-control-allowing-clickthrough Contrary to him i would like to capture mouseevents on my program, while still retaining a "window" to whats behind my program. color.transparent doesnt work, and transparencykey just delivers mouse events t...