background

CSS background image disappears in IE (6, 7, 8) after running jQuery .cycle()

I have the following HTML: <div id="similar-products" class="box small"> <div class="product"> <h3><a href="#">Lorem ipsum 1</a></h3> <p class="figure"><img src="_img/thumb/blah.png" alt=""></p> <p class="price">€ 19,99</p> <p class="more-info"><a href="#more-info">More info</a></p> <p class="add-to-cart"><a href="#add">Add t...

read error: 0: Resource temporarily unavailable

I have a bash script which prompts for user input multiple times and processes input in the background during the time the next input is expected. I keep getting this error once in while. read error: 0: Resource temporarily unavailable I suspected the background processes in my script would be causing this so I tried putting a < dev/n...

Modifying UIPickerview with custom column color

Hi, I needed to change the font and background color of the pickerview which i was successfully able to do. But there is a problem Only the views that have data are able to change the color. And the rest of the column color remains white. How can I change the whole column color and not just the label background color. (where data st...

CSS transparent background fallback when images are disabled

I have a DIV with a transparent PNG background applied to it. Is there a way (use of JS is fine) for me to: Have the transparency effect when images are enabled Apply a normal solid background color to it when images are disabled ...

c# forms application displaying even if user loggs off or locks computer

I'm writing an application that'll display a lightweight dashboard to the computer's secondary display (displaying permits that'll expire within X days and suchlike). It will be running on a secretary's Windows XP computer with 2 graphics cards. One for the secretary's monitor and another for the flatscreen that's facing the reception a...

Using a XAML Image as a WPF Window background

Any suggestions how to go about having a XAML vector image as a Window background? There's plenty of code showing this with jpg's but I'd prefer a vector based image. Having it as a resource would be a bonus too but I'm stumped as to the best approach. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation...

MDI parent background image

I have tried absolutely everything I could get my hand on, and it just won't work ! Has anyone ever solved this problem? I can put my image in the back, but it works only if the form never tries to be resized (shrinking is OK, growing leaves empty grey space...) ...

All the UILabels in my UITableViewCell sometimes have a black blackground color

This happens like once every 100 times I open my app. Normally all the UILabel work fine and have a white background. But every once in a while, the app opens and they all have a black background. Then it's black on black text and you can't read anything. I've tried setting the backgroundColor to white or clearColor.  Doesn't seem to...

[jQuery] newbie question

Hi all, i have following simple code for a word/tag in a tagcloud: <a about="http://localhost/d456c6" href="http://localhost/d456c6" class="tagweight0 Resource">abda</a> i want to change the background on click of a word. the problem is, that i have not only one word with class "tagweight0". Here my jQuery example code: $('tagweigh...

How should I run delayed_job in production environment?

I have no problems with running it in development mode via rake jobs:work. However, I'm somehow unable to figure out how to use it in production. I'm using Capistrano for deployment. Thanks for any advice! ...

Preventing delayed_job background jobs from consuming too much CPU on a single server

My Rails application has a number of tasks which are offloaded into background processes, such as image resizing and uploading to S3. I'm using delayed_job to manage these processes. These processes, particularly thumbnailing PDFs (using Ghostscript) and resizing images (using ImageMagick), are CPU intensive and often consume 100% CPU ...

Obtaining Background-image from stylesheet using C#

Hi everybody. I am trying to get the value of a "Background-image"-tag in a stylesheet which is used on my web-site. The style-sheets are referenced from the HTML file as follows: <style media="all" type="text/css"> @import "master.css"; </style> <style media="all" type="text/css"> @import "layout.css"; </style> The layout.cs...

Optimizing my dynamic background engine for a 2d flash game in actionscript-3.

Edit 2: judging on the lack of replies I start wondering if my issue is clear enough. Please tell me if I need to elaborate more. Notice: see bottom for a code update! Short introduction: I'm writing a 2 dimensional flash space game in actionscript. The universe is infinitely big, because of this feature, the background has to be rende...

WPF Animated Background Control?

In my WPF application, i want to have an ambient animated background similar to Media Center's background. Does anyone know of a free control that offers this? ...

Python script performance as a background process

Im in the process of writing a python script to act as a "glue" between an application and some external devices. The script itself is quite straight forward and has three distinct processes: Request data (from a socket connection, via UDP) Receive response (from a socket connection, via UDP) Process response and make data available to...

How to get JButton default background color ?

I use this : myButton.setBackground(myColor) to change the button background color to my color, how to find it's original default background color so I can change it back ? I know I can save it's default background color before I change and use that, but I wonder if Java stores it some where so maybe I can call something like : myButton....

Can iPhone take photos at background?

Recently I use NSTimer to repeat taking photos, it'll show on the screen. This is the problem: I need to execute my app. & taking photos at the same time. So, does there any way to take photos at background? I'll appreciate for any opinions~ ...

Running a java "background application" in application server

My experience with application servers is limited to some basic servlet coding, so I am not even sure how to frame this question appropriately. I need to write a java program that runs on the (java) application server and continuously executes a certain method (it will check for files in a certain directory). I have found a way to sc...

have an MP3\WAV in backgroung of HTML

i want to have an MP3 constantly playing and looping in an HTML page after a page has been loaded. I also want to control this sound with HTML interface for PLAY\STOP and if i can tune up down the volume as well then it would be great but that's an optional. Is there a way to first load the sound file first and play it in a loop or ever...

Scroll a background in a different speed on a UIScrollView

When somebody does a wipe gesture to scroll the content from left to right, I would like to have a background image scrolling into the same direction, but at a different speed. Much like what these classic games did do 20 years ago (remember that, anybody????) ...