background

Background vertically aligned with div

I am trying to create a full width background image that aligns vertically with a centered div. Should I create a wrapper around all the content, or is there another way to do this (without absolute positioning)? Thanks. EDIT: Sorry if I didn't explain this very well. I've changed the image. ...

problem with transparent text-background in tableview

hey all, i've got an annoying problem in my tabelview..i was able to achive color-changing cells (blue/white/blue/...), but now i'm in trouble with my text which has a white background on the blue cells. i've tried for testing to set a background color to red // try to set the backgroundcolor of the text ??? cell.textLabel.text.b...

How to solve this layout dilemma: Header, Content and Footer which expands their background color horizontaly (but at the same time have centered content)?

I created a layout were eveything is centered (with the "margin="0 auto" technique). I also wanted the header and footer to be black and expand to both sides when the browser enlarge to the sides. If I center everything the black background will center too and it wont expand indefinably. The only solution I found was to apply the backgro...

Blackberry - Issue with background image when scrolling down the screen

Hello BB experts, I am programmatically drawing the background image(320*480 size) for my application home screen as below. Screen does have scrollbar facility added. Also screen is having many other controls too like Label, EditField etc in multiple horizontal manager. My problem is, when i scroll down the screen, the background image...

iphone app run on background?

hi experts, is it any possibilities iphone app run on background, because my task is to retrieve wifi info and send it to the server about ssid & rssi, how this can be done, thanks ...

Java Swing: change background color on mouse over

Hi, I've implemented a simple mouse listener where the background color changes whenever the mouse enters the component (a JPanel), and it reverts back whenever the mouse leaves. This has some problems: Sometimes the mouse moves so quick that the mouseExit event is not fired If my component has childs, when the mouse moves to the chil...

Java Swing Fade Out Background

I have a Swing application and I'm trying to fade out the main application and show a window saying an operation is in progress (this is for long running operations that may need to block the UI). Is there an elegant way to do this in Swing (mainly the fading out the background) or maybe some swing library to help with this (maybe from s...

ignore_user_abort and redirect in php?

Hi I have a very similar setup to the person here: http://stackoverflow.com/questions/265073/php-background-processes i.e a very long script that takes up to 10 minutes. However, I need the person who calls the script redirected back to the homepage while the script works. In other words, I need the user experience to be something like ...

How to redirect to page in asp.net?

Hello, i am using one swf file.on click i have some background process.after finish the process i want to redirect to particular page.but its not working.what should i do to redirect to page.i am using asp.net ? reply me soon Thanking You Samir ...

Android - ExpandableListView change background for child items

I'm using ExpandableListView in my app and one of the complaints I get from the users is that when the list item is expanded it's hard to visually distinguish where the child item ends and next group item begins. So I would like to change background of the child list item to the different shade. Brutal attempts that I've made so far were...

Change background repeat image with JavaScript

I'm trying to create a script that changes the repeated background image of an element, on the mouseover event. Unfortunately it does not work properly. I have found several possible ways to do this with JavaScript but none of them has worked for me. How can I solve this problem? The following piece of code is not working properly: ...

BlackBerry - Background bitmap doesn't fit for scrolling page

Hello all, I have a background bitmap in my Blackberry application screen. Screen has scrolling enabled as i must to have a scroll. The problem which i'm facing is, when i scroll down the page, background bitmap doesn't fit for the scrolled page, rather it shows just plain white background. Do we need to draw the background bitmap for e...

Action Script 3: How to set chart area background?

I'm building chart in Action Script 3.0 and need to set background color of the area where chart is drawn. I found solutions how to set background color for all chart, but it's not exactly what I need: I need to color chart part where plot is drawn ...

Curved Menu Tabs

I am trying to make rounded corners on a tabbed dynamic menu using Drupal ad the dynamic-peristent-menu module, (hence the dynamic-persistant style definitions in the code below) You can see the code and the menu is 99% right here: http://vpscentre.co.uk/sandbox/ Can anyone make my solution 100% correct and make it so the navi_top_right...

Replacing PNG images with transparent background in Internet Explorer

image1.png and image2.png are both with transparent background. <script type="text/javascript"> $(document).ready(function(){ $("img#test").click(function() { $(this).attr("src", "image2.png"); }); }); </script> <img id="test" src="image1.png"> The above code is supposed to replace image1.png with i...

How do I start and stop background thread over and over again?

I have c# app that has UI and background threads. Based on user input I like to stop and start the background thread. I have two options here as I see: 1) totally stop and then start background thread as new thread ( I have not been able to this. I keep getting my process ended message) 2) Pause the background thread until user click r...

Sending the command(s) spawned by xargs to background

I want to know how I can send the command(s) spawned by xargs to background. For example, consider find . -type f -mtime +7 | tee compressedP.list | xargs compress I tried find . -type f -mtime +7 | tee compressedP.list | xargs -i{} compress {} & .. and as unexpected, it seems to send xargs to the background instead? How do I m...

Cocos2d adding a background image to a layer?

Hello, I just finished reading some of the cocos2d documentation, and as far as I understand to add a background image to a layer you have to do something like: Sprite * bg = [Sprite spriteWithFile:@"Background.png"]; [layer addChild:bg z:0]; Allthough as far as my testing goes you can just directly add the sprite to the scene like t...

How to have a background image wider than the content area of a website (without scrollbars)

I've been given a design for a website, and am trying to implement it. One problem I've run into is that the design has some background images (one for the header, one for the body, and one for the footer of the site) that are wider than the main content area of the site. Simply putting them in as background images doesn't work, since ...

Python freezes after computer sleep/hibernate

I have a python script that is running in the background with pythonw. If I close my laptop, it goes into sleep mode. and when I open my laptop, my program has little functionality and freezes after a couple of seconds. Is there any way that my script can tell if my computer is going into sleep mode, so that it can lie dormant and restar...