Questions tagged [blur]

The visual effect. For the JavaScript "loss of focus"-event, use [onblur].

For the JavaScript "loss of focus"-event, use [onblur]. For iOS 8 and above, you can use UIVisualEffectView to add blur effect on View.

1903 questions
0
votes
1 answer

Custom UIView class with blur

I am trying to create a custom UIView class that I can change the class for some views in my app. I want the view to be round and have the blur effect. I can get it to work via func that specifically references the outlet name but would like to just…
0
votes
2 answers

A Blur on an image

I tried this code on an image to blur it ... using TViOS 10.1 and Swift 3.0 let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.extraLight) let blurView = UIVisualEffectView(effect: blurEffect) blurView.frame = CGRect(x: 256, y: 128, width: 1024,…
user3069232
  • 8,587
  • 7
  • 46
  • 87
0
votes
1 answer

Why is 'this' undefined?

I have an input called #question_title. I want to run an if statement on a Blur event. When I try to check the length it comes back as undefined. Any ideas why 'this' isn't working here? JS $('#question_title').on('blur', function(){ …
Clinton Green
  • 9,697
  • 21
  • 68
  • 103
0
votes
2 answers

When using blur with timeout to achieve click-outside-close - the time interval sometimes too short

I have small widget that has a list of links, which can open and close:
View options
  • Option 1
  • Option 1
So,…
pesho hristov
  • 1,946
  • 1
  • 25
  • 43
0
votes
2 answers

Blur event triggers automatically when assigning value conditionally

I'm calling a function on blur event of a < textarea >. HTML: (Laravel blade template) Javascript: $(…
Parth Vora
  • 4,073
  • 7
  • 36
  • 59
0
votes
1 answer

Using the same function for different DOM elements

I have input and text boxes which have different placeholders like "number of reps", "time needed in secs" etc. I have built a click…
nishkaush
  • 1,512
  • 1
  • 13
  • 20
0
votes
4 answers

Input focus and blur

I have this code https://fiddle.jshell.net/cabeqaky/26/ The question is how to make that on first div click, input get focus and on second div click input get unfocused. How to do that? :) HTML
art
  • 59
  • 1
  • 8
0
votes
7 answers

Wrap Content ImageView display full size of image

I am using imageview in android and when I put image in imageview using attributes wrap_content for both height and width. Images appear to be so much big as they are of real size or if i took small images they got blur. code for it …
Mukesh Mishra
  • 241
  • 1
  • 3
  • 12
0
votes
1 answer

How can I blur svg image?

I want to blur all this svg image : https://github.com/lipis/flag-icon-css/blob/master/flags/4x3/eu.svg?short_path=4cf8a66 I want the same result as the following CSS : filter: blur(2px); -webkit-filter: blur(2px); Is there a way to do something…
Zeus FR
  • 1
  • 3
0
votes
1 answer

jQuery .blur not working in Firefox

I'm trying to hide my website when it loses focus. The problem is that it loses focus when I click inside an iframe on the site. To prevent this I have the following code, and it works perfectly in Chrome and even Edge. Why is this not working in…
renataedit
  • 33
  • 1
  • 3
0
votes
0 answers

Remove blur effect that is outside of an ImageView's box

I'm trying to create a blurred background.
klenium
  • 2,468
  • 2
  • 24
  • 47
0
votes
3 answers

How I create blur background in fixed header?

I have fixed header, and I want to do this: I don't have any idea. Does somebody have experience with it?
Nejaka hlavicka s rozmazanym pozadim
text a spousta dalsiho textu
text a spousta…
Stalky
  • 121
  • 6
0
votes
1 answer

Weird Shadow effect coming up on CSS Blur

I have some image blocks, when I hover the block their child image should be blurred and scaled with a small transition effect. It's working perfectly in firefox, but taking in WebKit browsers, there coming up a weird shadow around the edge of the…
Krish
  • 1,884
  • 2
  • 16
  • 40
0
votes
1 answer

C++ blurring rectangle parts of image

I use MSER algorithm with opencv and find some rectangle parts then I want to blur that inside rectangle. my renctangles are vector like (x, y, width, height) but using dilate or erode need inputarray src. how can i transform vector to inputarray…
0
votes
1 answer

How to compress video with uniform blur being the only side effect of compression?

The point is to somehow compress a video file, significantly reducing bitrate but somehow without changing its apparent quality, and because it would fit the design, I thought I will blur the video. In raster image processing I guess, it would be…
Kukuster
  • 135
  • 4
  • 10