Questions tagged [overlay]

Overlays are user interface elements that are displayed over other UI elements, typically for the purpose of presenting additional or enhanced information and detail.

4798 questions
1309
votes
9 answers

How to overlay one div over another div

I need assistance with overlaying one individual div over another individual div. My code looks like this:
Unfortunately I cannot nest the…
tonyf
  • 34,479
  • 49
  • 157
  • 246
700
votes
29 answers

Change color of PNG image via CSS?

Given a transparent PNG displaying a simple shape in white, is it possible to somehow change the color of this through CSS? Some kind of overlay or what not?
user429620
586
votes
23 answers

Prevent body scrolling but allow overlay scrolling

I've been searching for a "lightbox" type solution that allows this but haven't found one yet (please, suggest if you know of any). The behavior I'm trying to recreate is just like what you'd see at Pinterest when clicking on an image. The overlay…
PotatoFro
  • 6,378
  • 4
  • 20
  • 22
312
votes
17 answers

Creating a system overlay window (always on top)

I'm trying to create an always-op-top button/clickable-image which stays on top of all the windows all the time. The proof of concept is here - Smart Taskbar (on AppBrain) and here V1.4.0 Sidebar style SWKey - Button savior (on xda-developers)…
coreSOLO
  • 3,599
  • 4
  • 20
  • 22
195
votes
6 answers

How to make overlay control above all other controls?

I need to make a control appear above all other controls, so it will partially overlay them.
user626528
  • 13,999
  • 30
  • 78
  • 146
127
votes
13 answers

Drawing a line/path on Google Maps

I've been busy for a long time finding out how to draw a line between two (GPS) points on the map in HelloMapView but with no luck. Could anyone please tell me how to do so. Suppose I use the HelloMapView which extends MapView. Do I need to use…
mnish
  • 3,877
  • 12
  • 36
  • 54
110
votes
5 answers

overlay opaque div over youtube iframe

How can I overlay a div with semi-transparent opacity over a youtube iframe embedded video?
Timo Huovinen
  • 53,325
  • 33
  • 152
  • 143
99
votes
1 answer

GMSGroundOverlay animating - should I be using a CATiledLayer?

I am experimenting with the Google Maps for iOS SDK latest version 1.2.1.2944 to animate a GMSGroundOverlay. The user has control over the image sequence, so using an animated UIImage isn't a possibility sadly, so i'm loading in the UIImage on the…
RobWhistler
  • 1,023
  • 1
  • 7
  • 6
91
votes
13 answers

Loading an "overlay" when running long tasks in iOS

What is example for loading overlay in Swift IOS application when do a long tasks. Example for loading data from remote server. I googled but not found any answer. Updated: Thanks for @Sebastian Dressler this is simple way. I updated my code and it…
Sonrobby
  • 3,112
  • 8
  • 30
  • 38
83
votes
8 answers

Merging two images with PHP

I'm trying to merge two images together with PHP. For example... how would I go about placing image one on top of image two or merge, with basic PHP? I have tried something such as watermarking, but it doesn't seem to be working. Image One Image…
homework
  • 4,987
  • 11
  • 40
  • 50
82
votes
4 answers

Unable to add window android.view.ViewRoot$W@44da9bc0 -- permission denied for this window type

I have prefer this post for example but I got the error at adding viewgroup into the windowmanager object, I have used the same class for the Service as posted into the question with no change where I can mistake I didn't gettting it WindowManager…
Pratik
  • 30,639
  • 18
  • 84
  • 159
80
votes
2 answers

Client-side "Feature Tour" (tutorial/instructional) overlay system?

Is there a system/framework in existence which focuses on providing tutorial / help like overlays in the browser? Example: You have a webapp which requires a certain level of instruction to the user. In this instruction process you wish to…
Spot
  • 7,962
  • 9
  • 46
  • 55
78
votes
12 answers

How to overlay image with color in CSS?

Objective I want a color overlay on this header element. How can I do this with CSS? Code #header { /* Original url */ /*background: url(../img/bg.jpg) 0 0 no-repeat fixed;*/ background: url(https://fakeimg.pl/250x100/) 0 0 no-repeat fixed; …
LittleLebowski
  • 7,691
  • 13
  • 47
  • 72
77
votes
11 answers

Pure css close button

JSFiddle Is there any way to make something like the X on that link with pure css?
qwertymk
  • 34,200
  • 28
  • 121
  • 184
75
votes
6 answers

Youtube autoplay not working on mobile devices with embedded HTML5 player

To my problem, I have one link . I want to play the video by clicking the link in a fancybox overlay window. This is not a problem. The problem is the parameters, for example…
theowi
  • 820
  • 1
  • 6
  • 13
1
2 3
99 100