background
javascript,html,background
I have some problems using Trianglify javascript plugin. I would like to use it as a /div> background. How can I do it? I didn't find a proper example. I guess I should change this code somehow (get my div and its width and heigth): <script> var pattern = Trianglify({...
css,background,screen,cover
On the homepage of http://www.jeroenvanderwaal.com i'm trying to get the background image to cover the whole screen. I am unable to find out why it isn't covering but leaving an empty space at the bottom. The code so far: .page-id-4 #main { background-image: url(http://www.jeroenvanderwaal.com/wp-content/uploads/2015/03/achtergrond2.jpg); background-repeat: no-repeat; background-attachment: fixed; background-position: center...
matlab,plot,background
I have a plot from a network of lines in 3D space and I have one image from the object as well. Now I want to put the image file in the background of my plot as a fixed background and then the network should be plotted on that background....
javascript,dom,background
My question is pretty simple, i can't detect a element, i wanna change a backgroundColor through javascript but I can't check it since is a tag+class + tag+class... Here's the code i tried: var one = document.getElementsByTagName("div"); var two = document.getElementsByClassName("red"); var three = document.getElementsByTagName("h2"); var four = document.getElementsByClassName("title"); one.two...
html5,css3,background
I'm currently attempting to set my background color for a specific section of my page background. The idea is to have about 1/5 or 1/4 of the top section of the page be one color, while the whole remaining bottom is a separate color. I've considered using gradients to do...
java,image,swing,background
This question already has an answer here: Setting background images in JFrame 4 answers I begin in the Java programming language. I would like to make a JFrame and put a background image on it and above the JFrame, I would like to insert widgets : JTextArea , JButton...
ios,swift,background,viewcontroller,uiblureffect
Using the following code to make the background of a view blurry is not working consistently. func makeBackgroundBlurry () { var blurEffect = UIBlurEffect() blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Light) let blurEffectView = UIVisualEffectView(effect: blurEffect) blurEffectView.frame = view.bounds //view is self.view in a UIViewController view.insertSubview(blurEffectView, atIndex: 0) view.backgroundColor = UIColor.clearColor() //add auto...
android,background,android-edittext
I have problem with using EditText with several fragments. I have two fragments: FragmentOne and FragmentTwo, and each fragment has EditText. After adding FragmentTwo above FragmentOne: android.support.v4.app.FragmentManager fragmentManager =getActivity().getSupportFragmentManager() fragmentManager.beginTransaction().add(R.id.frame,new FragmentTwo()).addToBackStack(null).commit; When I press Enter on keyboard, cursor goes to EditText on FragmentOne. How to fix it? Similar problem was...
background,background-image,chartjs
I am using chart.js lib on a programmable device i need to add an image as background to my chart, if that is not possible how can i change background color to black?. I cannot use Jquery as it is not supported by the Platform. Thank you...
android,background,dialog,transparency
I'm trying to get a transparent backgroud on my custon Dialog, but I can't get it done on android 4.4.4. It only works on an Android 5.1. The result I'm looking for is this: http://www.americocarelli.com.br/android_5.1.png But I get this:http://www.americocarelli.com.br/android_4.4.4.png This is my custom layout: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/dialogo_layout_root"...
css,twitter-bootstrap,text,scroll,background
I need a "background text" like this > (EXAMPLE) The text doesn't go up when I scroll down the page. my .css for background image html, body { font-family: 'Lato', sans-serif; height: 100%; background: url(../img/image-bg-jpg.jpg) center center no-repeat fixed; webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } I'm using...
android,facebook,background,uri,profile-picture
I have been trying with no avail to set my facebooks profile picture as a Linearlayout background in my application. here are the two ways I tried to do this: first way: got the uri from the profile picture and converted it to drawable protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
ios,objective-c,background,uinavigationbar
I am trying to set the background image of my navigation bar using the following code: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. viewController = [[ViewController alloc] init]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewController]; [viewController presentViewController:navigationController animated:YES completion:NULL]; [self...
ios,user-interface,background,thread-safety
On iOS, its well documented that the UI should never be updated from a background thread. Rather the main thread should be the sole interface to update the UI. My Question is why? Is it because UIControls are not thread safe and hence there is always the possibility of main...
html,css,background
How do you make a background img that would: Stretch across the window horizontally Have a fixed height Crop height when it's bigger than the content's height (do not shrink) Currently I have this code that implements #1 and #2 but I can't seem to make it do #3: <img...
opengl,background,render
Hi I am doing an assignment and can't figure out how to render a background. I've drawn the triangles and every thing renders to the screen ok but it always becomes the foreground and blocks everything else from view. Here is my code for rendering the back ground. void render(){...
c#,image,background,click
This code does not report any error and should have work.The button background image does not change. Any idea of what could be wrong? void MyHandler(object sender, EventArgs e, string val) { //Process Process.Start(@val); //Change button bkground image var button = (Button)sender; button.BackgroundImage = global::Test.Properties.Resources.impOK; } EDIT The event MyHandler...
css,css3,background,background-color,opacity
Something's not working. The code is here: bambakids.com/menu Content: index.html jquery.easing.1.3.js smoothscroll.js CSS Folder: css/style.css Let me know if you want the images too, although they shouldn't matter. Goal: For there to be a different background color on the contact div then on the main one (headermenu)...