background

Transparent PNG as Background Image

Hello, I have an element with a transparent png as its background image - it's like a polaroid with the photo bit cut out so just the frame is showing. With this as the background I then want a standard image to sit behind the element that has the transparent png background - to fit inside the frame. i've tried setting z-indexing and ...

Wpf Panel Background problem

When i don't set background of my panel i can not get mouse events on that. why this behaviour? I am able to get mouse events on panel by setting Background to Transparent which is null by default. Whats the difference between Background null and Transparent? ...

How can I run a controller method as a background task?

I've heard of the various background task tools (delayed_job, starling, workling, etc) but from looking at those it seems they're really only capable of running model-based methods (User.update_counters, for example). I need to be able to run a controller method as it's a pretty complex set of tasks that's intertwined a slew of other co...

Links within and outside List elements not working

I'm trying to create a unordered list, with each li element having it's own background image (no text, just image), but I'm having trouble (in Firefox at least, it works in Safari) getting the link to work. In Firefox, the image changes on hover, but doesn't let you click. How do I get it to work in Firefox? I've tried the A tag within a...

Using cpulimit from within PHP

I have a script that's scheduled to run periodically on a customers production server to import some data from their FTP server. This needs to run as scheduled, even during the day when the customer is working. Occasionally, the script takes up large amounts of CPU which slows down the customers production environment. I thought I cou...

transparent .gif image not allowing background CSS element to show through

I've just got a quick question that if you have time would be great to have answered. I'm working on a new site for a woman that is a fixed width site. She wants her background image to take up the entire span of the browser window and then the image that sits on top - she wants to be transparent so that the background can show throug...

UITableView repeating background with 2 images

Hey guys, So I'm trying to make a UITableView that has a repeating background. I want the background to scroll with the text. The catch is that the background is 2 images. There is a top image that is about 550px in height, and then a repeater image that's 2px in height. I want the top image to scroll with the table view and then eventu...

Embedding background images in an e-mail

Hi, I'm trying to use an embedded image in an e-mail as the background image, i've got the following code to embed it: LinkedResource backgroundLink = new LinkedResource("..\\..\\background.gif"); backgroundLink.ContentId = "BackgroundImage"; backgroundLink.TransferEncoding = System.Net.Mime.TransferEncoding.Bas...

OpenGL AntiAliasing and Background Quad

I'm drawing a background behind my 3D scene which works as expected (code below). I'm also anti-aliasing the scene using the accumulation buffer (chapter 10 of the red book). ...loop several times (say, n) through code that jitters and draws the image (jittering is moving the image to a slightly different position), accumulating the da...

dynamic table size html

I'm making a website that has to fit in the entire screen regardless of screen-size. I'm using a table to use this at the moment but I ran into a problem. The web page is divided into 3 columns: the left column stays at the left of the screen and has a fixed size with a background. the right column stays at the right of the screen and ...

WPF: How do i create a background that repeats horizontally without scalling?

I would like to create a background for my window which is an image that i want repeated horizontally. So far I've tried with the ImageBrush, but this option repeats the image horizonally and vertically. Also, i don't want it to scale when user resize the window, as it makes the image look funny. any ideas? ...

Is there a way to get to know if the user is on call while using my app?

Is it possible to identify whether the user is on a phone call while using an app. Here is the scenario: I get a call I accept the call Tap the home button Launch an app At this point can I tell this app that a call is going on in background? Getting to know the screen is not a full blown option. Because it makes life difficult whe...

How to insert a image under the text as a pdf background using iText ?

I need some sample code to insert a image as a pdf background, is there any this kind of sample code ? and I have wrote the text well, then i need to insert a image under the text. ...

Modifying the color scheme for an Inno Setup Installer.

Hi. I've been playing around with Inno Setup 5.3.6; trying to customize the installers colors. Mainly the banner that appears at the head of the installer. But as of yet i have no luck finding a way of doing this easily. After reading through the documentation i found the BackColor, BackColor2, BackColorDirection and BackSolid paramete...

Android: raise AlertDialog from background thread

In my activity there's some stuff going on in a background thread, which gets started in Activity_1. The processing of the background thread takes a while and I want to notify the user when it's completed via an AlertDialog. However, the user might have changed to Activity_2 or Activity_3 in the meantime and I would like to pop up the Al...

How do I get a flood fill algorithm to cope with closed circles?

I have an application that accepts images as input and removes the background on which the image was taken. For example, if you pass in an image of a book on a blanket, the resulting image will be just the book with a transparent background. The problem I have is when you input an image that has a large empty space in it, e.g. an elast...

Using Clickonce Deployment with Background intelligent transfer service

Hey guys, We are thinking about the deployment and update strategy for a fairly large framework throughout our organization. The application will be in .NET 3.5 and will run on Windows XP, Vista and Win 7 machines. I have used Clickonce few times and it works well for sure. Has anyone thought of, or have implemented the BITS feature of...

Problem with background elements around main content

I have this site where I need to place two images at the top of the page on each side of the content. Temporarily it can be reached [removed]. If your resolution is wide enough you can see both right and left red Christmas decorations are aligned to the main content. However the right ones are not taken out of the page flow and create a...

CSS Layout Problem

Here's my page It looks correct in Firefox, but of course in Internet Explorer, there's an issue. The main body of the page is not displaying correctly. The left and right divs are not showing the white background that I'm trying to get them to. ...

css background repeating from 300px onwards

Hi, I am wondering if anyone knows how to achieve the following - take a look at http://www.dspts.si The first 1/3rd of the screen has an empty background and from there onwards there should be a pattern repeating. I did it right now, by creating a very long pattern png and set it to offset 300 and repeat-x. However, I'm not happy with...