background

Top Container Background Problem

Here's a screenshot: The red bar on the left is the background I set for the #personal div and I would like it to align to the top of the container, vertically. The problem is that I have a background for the #container-top div on top of the #container div with absolute positioning. Is there any way to move the #personal div up so th...

JOptionPane background Image.

How to set background Image of JOptionPane? I want to show a different image on background of an JOptionPane. ...

Clickable Background/Wallpeper For Advertising Purposes

I am in the middle of finished up a website and I am adding some features to it right now. One of the features I wanted to add was the ability to have a click-able background to display full page ads and promotions. This is what I have set up so far: #siteWrapper{ width:954px; margin:0 auto; top:0px; } This siteWrapper obv...

How do I make a background thread in Java that allows the main application to exit completely? This works in Linux, but not in Windows.

I have a Java application that creates a new thread to do some work. I can launch the new thread with no problems. When the "main" program terminates, I want the thread I created to keep running - which it does... But the problem is, when I run the main application from Eclipse or from Ant under Windows, control doesn't return unles...

Running job in the background from Perl WITHOUT waiting for return

The Disclaimer First of all, I know this question (or close variations) have been asked a thousand times. I really spent a few hours looking in the obvious and the not-so-obvious places, but there may be something small I'm missing. The Context Let me define the problem more clearly: I'm writing a newsletter app in which I want the ac...

Android widget ImageButton loses image when screen is rotated

I have a widget on my home screen with several ImageButtons which have default background images. Through the configuration activity, I can change the image on any of the ImageButtons. The problem is that when the screen is rotated, the image on the ImageButton disapears and it changes back to the default image. I don't know why this ha...

jQuery - Moving background arrow in menu

I would expect something like this to be pretty popular in demand but I had much trouble finding a suiting script. I've got a basic menu build like this: <div id="menu"> <ul> <li><a href="#"><img src="images/btn1.png"></a></li> <li><a href="#"><img src="images/btn2.png"></a></li> <li><a href="#"><img src="im...

Taking too much time to load the application in vb.net

Hello, i am using vb.net in which i have put the background image to every form.the image size is 1024X768.when i open the form it is taking too much time to open. and screen is fluctuate.so can you tell me how to remove this type of issue, reply me soon thanks samir ...

moving iphone app background image

Hey there. I am creating my first iPhone native app (beginner Objective-C). On my main menu title screen, i would like for the background image to move slowly to the left. Is it possible to tile a background image and have it move? I'm basically trying to have my clouds drift across the background. How would you accomplish this? ...

Setting background image for QPushButton

Hi Geeks, I am struggling to set an background image for an QPushButton. No Success till now. Following is my code. appsWidget::appsWidget(QWidget *parent) :QWidget(parent) { QPushButton *button1 = new QPushButton("SETTINGS",this); QPushButton *button2 = new QPushButton("TEST",this); QPushButton *button3 = new QPushButt...

In a Android GridView, how can I assign a background image to a row, instead of a singular cell?

Is that possible via straight XML, or do I have to subclass the GridView class? If the latter, where do I start? ...

Parallax backgrounds in OpenGL ES on the iPhone

I've got basically a 2d game on the iPhone and I'm trying to set up multiple backgrounds that scroll at different speeds (known as parallax backgrounds). So my thought was to just stick the backgrounds BEHIND the foreground using different z-coordinate planes, and just make them bigger than the foreground (in size) to accommodate, so th...

how to put png image with transparent background in QToolButton

hi geeks, I want to put a png image as background in QToolButton. But I am not able to get the transparent portions in the button. The transparent portions are showing as white in my QToolButton. Can anybody suggest how to remove the white portions as transparent ? ...

Background custom button animation using WPF

Hi, I am using Resources dictionaries to customize my controls and apply them as themes to my WPF application so I have implemented one for the button control. A code snippet for my custom Button.xaml is (its namespace is MyWPFApp.Themes): <ResourceDictionary ...> ... <LinearGradientBrush x:Key="NormalBackground" ...

Background-image toggle using jquery

Hi all, bit of a jquery rookie here trying to get something to work. Basically I have a div with a class "nav" and inside that div is a nav list. I want to change the background-image of "nav" when hovering over an item in the navlist, so I made this unsuccesful effort: enter code here $(function(){ $("li#hover-first").mouseov...

Background image in java

hi, i'm trying to put an image as a background of my interface in java , i tried to write a class that does that and using it , but is there a simpler way to do that . here 's the code i used: import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing....

How to make android app's background image repeat.

I have set a background image in my app, but the background image is small and I want it to be repeated and filled in the whole screen. What should I do <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:ba...

Any way to make GtkProgressBar have a transparent background?

So far I've not been able to find any way to make the background of a GtkProgressBar transparent. I've tried setting a transparent image as the background, but the alpha channel is ignored. Can this be done? ...

Setting background views depending on user settings

I've got an app where the background needs to be set depending on user preference. The user can change this at any time via settings tab. I've got it working by checking NSUserDefaults in viewWillAppear and setting self.view.backgroundColor. This is really clunky. The right approach (I thought) is to set the background in the root view ...

How can I run Perl system commands in the background?

#!/usr/bin/env perl use warnings; use strict; use 5.012; use IPC::System::Simple qw(system); system( 'xterm', '-geometry', '80x25-5-5', '-bg', 'green', '&' ); say "Hello"; say "World"; I tried this to run the xterm-command in the background, but it doesn't work: No absolute path found for shell: & What would be t...