FAQ Database Discussion Community


overlay mean and sem to ggplot per facet

r,ggplot2,overlay
I have a horrible line plot in which I use facet in order to divide between groups (TRained and UnTrained) and trials (E1, E2). I tried to look how the tendency would look like so I used stat_smooth() but it's not what I hoped to get. Notice how bad red...

jQuery mobile - generating html dynamically not working with iframe

jquery,html,jquery-mobile,iframe,overlay
First things first here is my js $(document).ready(function(){ $('<a>Launch</a>').attr({'href':'#popupBasic','data-rel':'popup','data-transition':'pop','class':'ui-btn ui-corner-all ui-shadow ui-btn-inline'}).appendTo('body') $("<div></div>").attr({'data-role':'popup', 'id':'popupBasic'}).appendTo('body') $('#popupBasic').html('<iframe src="http://www.example.org"></iframe>') }); Through testing I have narrowed the problem down to the iframe. For whatever reason when I use jQuery to create the...

Form overlay showing behind form on move and resize

c#,winforms,overlay,bringtofront
I have setup a custom control that acts as a loading overlay, the overlay is a form with a picturebox on it to show the image. When the overlay shows it goes into position and is infront of the main form calling it, this looks great. However when the user...

Overlay a static UIButton onto a UICollectionView

ios,objective-c,uibutton,uicollectionview,overlay
I have a UICollectionView that has an array of UICollectionViewCell each cell takes up 80% of the view. I want to add a static UIButton onto the screen that scrolls to the next cell every time it is pressed, I will have to add the button subview onto the Parent...

How to set Opacity of overlay? Android LayerDrawable

android,overlay,drawable,porter-duff,layerdrawable
layers[0] = view.getDrawable(); layers[1] = r.getDrawable(R.drawable.dr); LayerDrawable layerDrawable = new LayerDrawable(layers); int width = layerDrawable.getIntrinsicWidth(); int height = layerDrawable.getIntrinsicHeight(); Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); Canvas canvas = new Canvas(bitmap); layerDrawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); layerDrawable.draw(canvas); view.setImageBitmap(bitmap); Is there any other method? with PorterDuff.Mode maybe?...

Black CSS image overlay is white

html,css,background,overlay
I am trying to create a black overlay over a header image and it seems to turn out white instead even though I'm setting the color property to black. <div id="overlay"> <header class="intro-header" style="background-image: url('http://localhost/WP/wp-content/uploads/2015/01/cropped-Skov.jpg')"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="site-heading"> <h1>Svampe ting</h1> <hr class="small">...

Create an image-overlay mask in javafx

image,javafx,imageview,overlay,mask
I'm trying to do a simple thing. I have a binary image and all I want is to overlay the binary image on a color image, but the white pixels in the binary image should be red, and the black transparent. I'm quite used to JavaFx but I'm stuck with...

Is it possible to remove a portion of a CSS hover overlay when hovering over a child element?

javascript,jquery,html,css,overlay
I am faking an image map by using CSS Image Map Generator. When the user hovers over the outer image, I want the entire image to darken a little and have a border appear around the hot spots. When they hover over a hotspot, I want that hotspot to be...

Accessibility app for android that runs on top of all other applications and can intervene and send touch/tap events to views of other apps

android,overlay,accessibility
I have been trying to design an accessibility application for android for disabled people like that of ios7 switch control point mode. The biggest problem I am facing is how would I make an activity that would appear over all applications and takes switch events and send touch/tap events accordingly...

Moving dot on picturebox in vb.net

vb.net,image,overlay,picturebox
I have a picturebox, and would need to draw a single red pixel at a given coordinate. This pixel will move, and when i assign a new position the old position is removed, so that only a single pixel is red at any given time. If possible it would be...

Ogre: Apply compositor for overlay

overlay,render,ogre
Ogre 1.8.1 overlays render after compositor. For example: for compositor "Grayscale" overlays are still colored. Is any way to apply compositor for all overlays in scene? For some overlays only?

Overlapping text over background image

html,css3,twitter-bootstrap-3,overlay
I'm using Bootstrap and I want to have a background image and over it some text, images or whatever. The problem is Bootstrap CSS displays elements with some kind of background and, of course, ruins the result. You can see the example with Bootstrap here and without bootstrap here. How...

Java - How can I put canvases on top of each other using the OverlayLayout LayoutManager?

java,swing,awt,overlay
I want to put 2 Canvas objects on top op each other. Their backgrounds should be transparent (I did not address this yet). I want a simple way to work with Photoshop-like layers. I want to use as less Swing objects as possible. I have a Container object that contains...

ImageJ overlay get removed when rotating

rotation,overlay,imagej
I'm learning ImageJ now but I got a problem. First, I added an overlay to an image (using Image-Overlay-AddImage in menu). Now I want to rotate the image and keep the upper overlay remained as a reference. But when I use the rotate command(Image-Transform-rotate), the overlay is removed. However, this...

Reveal portions of an image behind another image

c#,overlay,picturebox,bmp
I have a PictureBox where I display an image (Let's call it Image1). There's a second image (Image2) which needs to be revealed as the user hovers the Image1 with the mouse. I only need to reveal part of Image2 (a 10X10 pixel size box), not the whole image as...

position overlaying div within another div

css,overlay
I've got some 'person' divs in a 'main' div. On 'person':hover I show an overlaying div. I want it appear only within the 'main' div, not go beyond 'main's boundaries. This way: When cursor over AGCH div When cursor is over JALO div I want Jack London's right border aligned...

Generate overlay map image from geo data

google-maps,png,overlay,cluster-computing
I need to generate a transparent image to apply on map similar to these: Image_1or Image_2 I need to generate this image from a dataset: I have many data points (with lat and long) and I would to generate this image (server side) to show density on map of my...

Google Maps V2: Does rotating the map change the orientation of TileOverlays?

android,google-maps,overlay,google-maps-android-api-2
Background: I want to draw several Polygons on a map (few thousand coordinates in all). This worked pretty fast on Google Maps V1 by Overlays. But Google Maps V2 seems to be ineligible for that. First of all I tried to add polygons directly to the map by googleMap.addPolygon(myPolygonOptions); but...

CSS overlay effect doesnt close

jquery,html,css,scroll,overlay
I'm new here, so don't be angry. It works only in one way, it overlays when you push the button, but when you press "Close" nothing happens. When I make in CSS .overlay fixed - it works but not scroll. And I need a scrolling overlay with some text, text...

How do I create a pattern overlay in CSS

html,css,design-patterns,header,overlay
I'm trying to create a header for my website but I'm having a bit of difficulty as I'm new to HTML and CSS. I want to create a banner with the same font and background as shown below. They consist of a certain colour with a pattern overlay at 44%...

Make overlay fixed-like, but the content container scrollable

css,overlay
My code creates an overlay where it blocks up the page with black, and there's a form inside of inner container. When it's active, it blocks the page, but the overlay is absolute and stretches only the window width and height 100%, when I scroll down, the overlay is not...

2D overlay on top of 3D plane with texture

three.js,2d,overlay
I am trying to draw a 2D square on top of my plane but I can not get to a good solution. So far I just draw 3D lines on top of the plane. geometry = new THREE.Geometry(); geometry.vertices.push(new THREE.Vector3(HANDLES[0].position.x, HANDLES[0].position.y, HANDLES[0].position.z)); geometry.vertices.push(new THREE.Vector3(HANDLES[0].position.x, HANDLES[1].position.y, HANDLES[0].position.z)); geometry.vertices.push(new THREE.Vector3(HANDLES[0].position.x, HANDLES[1].position.y, HANDLES[1].position.z));...

Overlay an image on video in Android [closed]

android,video,overlay,ticker
I have been researching on this issue for a long time now. I am looking to develop a set-Top-Box like functionality for my app. Like a video is running on a TV. I want to add an image as an overlay on this video just like a ticker.The problem is...

having trouble drawing rectangle on camera preview

android,overlay
I'm trying to draw a rectangle overlay on top of a camera preview. I've got the overlay in a FrameView and the onDraw() is called successfully but the rectangle never shows up. I've searched around and tried different solutions but none have worked for me so far. This is what...

Coach Marks Overlay with Chromecast

android,overlay,chromecast,google-cast
So I'm working on an application that uses Google Chromecast and I want to implement a coach marks system when casting first becomes available to the user. To do this I want a semi-transparent overlay over the entire screen except where the cast button is, as seen in the cast...

Not sure how to change panel to have display mode of overlay

jquery,html,css,overlay,panel
Sorry, i'm a beginner to all this but i'm not sure how to change it so that the panel will overlay (so it appears over the pages contents instead of pushing it to the side). i've tried changing the display to overlay instead of push or reveal but it still...

html/css full background overlay div inside another div

css,image,background,overlay
I have a simple < div > (without fixed hegiht) with a text in it: <div id="section"> <div class="container"> <h1>text</h1> <p>More text</p> </div> <!-- <div id="overlay"></div> --> </div> The CSS for this is something like: #section { background: red; overflow: hidden; } It's possibile to add a div with a...

word-wrap — using `'cursor t` when overlay 'after-string at end of visual line

emacs,elisp,overlay
PROBLEM:  When point is at the end of a visually wrapped line (but not at the very end of the line), the cursor does not respect the cursor t setting of the overlay after-string -- i.e., the cursor appears at the beginning of the next visually wrapped line, instead of...

lxc-clone not working with overlayfs in centos 7

linux,overlay,lxc,centos7
I have created a container say base and I am trying to create a clone of the base container with backing store as overlayfs. But it always fails with the following error, lxc_container: bdev.c: overlayfs_mount: 2237 No such device - overlayfs: error mounting /var/lib/lxc/base/rootfs onto /usr/lib64/lxc/rootfs options upperdir=/var/lib/lxc/s0/delta0,lowerdir=/var/lib/lxc/base/rootfs,workdir=/var/lib/lxc/s0/olwork clone failed...

Overlaying jittered points on boxplot conditioned by a factor using ggplot2

r,ggplot2,overlay,boxplot,jitter
I am making a boxplot conditioned by a factor similar to this example: p <- ggplot(mtcars, aes(factor(cyl), mpg)) p + geom_boxplot(aes(fill = factor(am))) There are few points in the data set, and I'd like to express this visually by overlaying the data points. I want to overlay the points colored...

Overlaying Action Bar - Android Studio Tutorial

android,android-actionbar,overlay
Run into a small problem while working with the Android tutorial http://developer.android.com/training/basics/actionbar/overlaying.html I have created a custom action bar theme where the android:windowActionBarOverlay property has been set to true. <!-- the theme applied to the application or activity --> <style name="CustomActionBarTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar"> <item name="android:windowActionBarOverlay">true</item> <!-- Support library compatibility --> <item...

Can I have text wrapped automatically when creating a PDF overlay with GhostScript?

pdf,overlay,ghostscript
I am trying to make a script add a few lines of text into a PDF form. I have no control of the form's creation and it is not editable, but I find the answer given to question "can I use Ghostscript to overlay a text (fax) header onto a...

Colour overlay on hover

css3,hover,overlay,css-transforms
I'm playing with a self developed theme on my blog. I've got a grid of images that click through to a particular category. I'm having a problems trying to create a hover effect over the images. I think probably because of the way I've used the link (absolutely positioning it,...

Add an overlay image over the top of a responsive image

css,image,css3,overlay
So here is what I have: HTML <div class="frame-container"> <img src="http://placehold.it/400x600" id="image" alt="test" /> <div class="overlay"></div> </div> <button id="button">Add Overlay</button> CSS .frame-container{ padding: 15%; background-color: #333333; -webkit-box-shadow: 4px 6px 5px -1px rgba(120,120,120,0.75); -moz-box-shadow: 4px 6px 5px -1px rgba(120,120,120,0.75); box-shadow: 4px 6px 5px -1px rgba(120,120,120,0.75); } #image { width:100%; overflow: hidden;...

How to accomplish 3 horizontal line menu in fxml

menu,javafx,overlay,fxml
I want to create menu like "Firefox (Three horizontal line - top right side) Menu". I don't know how to create this line of overlay menu in FXML. Have anybody any idea about this? Thank a lot....

Bootstrap: overlay loading screen + toggle jumbotron

javascript,html,css,overlay,loading
Ok so, I've gone through maybe 20 different stackexchange answers to each of these problems, and I still can't solve it, so it's about time I ask and hopefully somebody can point me out of these woods: I am making a simple website, and I wanted to make like an...

xul overlay for new menu in TB/Firefox main menubar

firefox,firefox-addon,overlay,xul
I'd like to add a new menu at the end of the main menu bar (file, edit, ...) after the Help menu via an extension i wrote. I already know how to add a new item to one of the menus by something like: <menupopup id="menu_HelpPopup"> <menuitem id="example-item" oncommand="alert('Hello!');" label="TEST"...

Always show overlay for edges in Cytoscape.js

javascript,canvas,graph,overlay,cytoscape.js
Is there a way to always show the edge line overlay in Cytoscape.js The gif below show that the overlay is shown when the edge is active (after select or tap) Here is the current styling I have : var cy = cytoscape({ container: document.getElementById('cy'), style: cytoscape.stylesheet() .selector('node') .css({ 'background-color':...

Overlaying a Image with CSS

html,css,background,overlay,z-index
I have a store with a gallery. I was looking to overlay the Thumbnail if a Sold stamp that I made. If i disable the image the overlay is showing bellow, so I know it is inserting the image, it isn't on top though. What I see: How I know...

image overlay with ffmpeg runs the script indefinitely

ffmpeg,overlay
I really tried hard, I did not succeed, so I am asking here. I wanted to have an overlay image (jpg) with text on video (mp4; 15 secs) and have fade-in and fade-out for the overlayed image (and not the video). I could do this with the follwing command, but...

Camera Overlay not in the center

ios,cocoa-touch,uiimagepickercontroller,overlay
I am trying to add an overlay to this UIImagePickerController instance but the result is the overlay off center. I have created a simple red square (300x300 pt) to exemplify the problem and serve as an overlay and added that to the camera overlay, using this: CGRect bounds = [[UIScreen...

iOS8 Swift TableView LoadingOverlay Grand Central Dispatch

ios,swift,overlay,grand-central-dispatch
I'm writing an app where I've got multiple TableViews. If you click the cell from the first one, it opens a second one with specific parameters. For each one of them I parse some content from a website, which often takes some time. I want my users to know that...

is it possible to trigger c++ code, intiated by html events in minko?

html,c++,overlay,minko
Using minko, "html overlay" feature, is it possible to send events to c++ code from html? The example provided, with the framework clearly demonstrate how to send events from c++ towards html (by incrementing a counter and having it reflect in html), is it possible to have the communication the...

How to clear shapes after the map is redrawn in Google maps?

javascript,json,google-maps-api-3,overlay,shape
I want to clear google map overlay shapes after they are redrawn using JSON string but its not clearing after the map is redrawn using Json string. When i draw shapes and click save raw(IO.IN(shapes,false)) and after that if i click clear button, it clear all shapes. After i saved...

How to delete overlay in an Android modified Holo button?

android,button,styles,overlay,android-theme
I have this style for Buttons in my Android app, but I don't want that little shadow. <style name="AppTheme.Button.Primary" parent="@android:style/Widget.Holo.Button"> <item name="android:background">@color/primary_dark</item> <item name="android:textColor">@color/primary_light</item> <item name="android:gravity">center</item> <item name="android:textSize">15sp</item> <item name="android:layout_width">20dp</item> <item...

Javascript detect elements in front of elements

javascript,overlay,userscripts
How can one know if an element is in front of another element, if the overlaying element is transparent? The purpose for this is if you're artificially clicking a page element by its ID, and you're ensuring there's no overlay on top of the element that would make confirm the...

How can I close an overlay after 4 seconds?

jquery,overlay
I am using this code for an overlay when you load the page. Now I can close it when I touch but I want to get closed after 4 second as well. How can i set this? var widthInitial = parseInt($('#horiz').html()); var heightInitial = parseInt($('#vert').html()); var windowWidth = $(window).width()/100; var...

Create 3 separate images with hover overlay with links in them

css,image,hover,overlay
Im trying to have 3 separate image links with hover image overlay however I can't seem to achieve this. Each "imgBox" needs a different name as images will be different however when I use "imgBox2" or "imgBox3" and appropriately change the class name in css, it doesn't work. Also, I...

Overlay two images in a responsive environment

html,css,image,overlay
I'd like to see if there is a way to overlay a sale tag onto a div. Also, I want to make sure that it responds in a responsive environment. I've tried position:absolute but I'll have to create numerous media query break points in order to do this. <div class="col-md-3...

Cross Viewport oclussion culling

xna,overlay,viewport,xna-4.0,occlusion-culling
I'm currently working on a XNA project where I need to create a Picture in picture Overlay to displaying a 3D scene from multiple angles. currently I'm trying to use 2 viewports to do this. The main one fills whole screen and is working as desired. The second is placed...

Overlapping a UL tag on a DIV

javascript,jquery,html,css,overlay
I am not so pro in CSS. I tried whatever I can in my knowledge. This is my HTML: <div id="demo_box"> <div id="pop_ctrl"><i class="fa fa-bars"></i></div> <ul id="demo_ul"> <li class="demo_li"> <div><i class="fa fa-home"></i></div> <div>Home</div> </li> <li class="demo_li"> <div><i class="fa fa-cloud"></i></div> <div>Cloud</div> </li> <li class="demo_li"> <div><i class="fa...

Hover class removed onload when cursor over item in jQuery

jquery,overlay,jquery-hover
I'm building a site with a jQuery hover function that swaps out the current image with that in data-hover-src and adds the class 'hover' to the .product-overlay so that I can use CSS to show it when the user hovers over each list item. All pretty simple stuff, however, if...

Openldap : overlay accesslog not found

overlay,openldap,access-log
I am trying to configure accesslog. I have changed the slapd.conf file and trying to test using slaptest but i am getting error while executing slaptest -f /etc/openldap/slapd.conf. slapd.conf configuration: # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema...