blur

hide keyboard in iphone safari webapp

I'm creating a webapp for the iPhone, based in HTML/CSS/JS. I'm using forms to receive input and pass data to the script, but a problem I'm encountering is that the keyboard won't disappear. The user will enter the information, hit submit, and since it's JavaScript the page doesn't reload. The keyboard remains in place, which is a nuisan...

Why are the default UI controls in my iPhone app blurred?

Why would the default iPhone interface elements, specifically the UISwitch (unmodified) and a UISegmentedControl appear slightly blurred? I have not changed them or called any private APIs. This blurring occurs when I run it both in the simulator and when I load it on my iPod Touch, so I don't think it's a one off drawing glitch. These e...

Blur filter in assembler

I am trying to get it working but still no results. Do you know some kind of tutorial or sample assembler code for blur image filtering? ...

Text rendering blurred in Firefox and Internet Explorer using jQuery

Not sure what causes this? If I user slideDown in Firefox the text rendering cuts off the top of the letters before the animation is complete. This is ok in IE. If I then change the animation to use fadeIn instead, the blur does not happen in Firefox but the text is very jagged in IE. From another question I have asked in the past pe...

JQuery Blur Validation Problem

I have a simple form that I want to validate using blur if the text field is empty. The below code should work, but keeps alerting me even if I pop in some text, please, what am I doing wrong? var name = $("input#name").val(); $("input#name").blur(function() { if (('input#name:empty')) { // Testing ...

Why is android:FLAG_BLUR_BEHIND creating a gradient background in my new activity instead of bluring the window?

Hi, I've got two activities. One is supposed to be a blur in front of the other. The background activity has several ImageViews which are set up as thin gradients extending across most of the screen and 10dip high. When I start the second activity it sets the background as a gradient occupying the entire window space, that is it ap...

Clearing Textarea on Blur (jQuery)

// Clearing Textarea $('textarea').focus(function() { var $this = $(this); $.data(this, 'img', $this.css('background-image')); $this.css('background-image', 'none'); }); $('textarea').blur(function() { if($.trim($('textarea').val()).length){ $this.css('background-image', 'none'); } else { $(this).css('ba...

Combining jQuery and Pixastic. I cannot get the two to work.

I've been banging my head against the wall all day with this one. Here is the link http://www.olliemccarthy.com/test/blur-experiment/ I just want to click on the image and then see it blur out. That's it. Here is the code I've been using so far. $(document).ready(function() { $('.test').click(function() { $(this).("blurfast", {a...

Clicking on iFrame does not blur Ext Combobox

I have a page with a Ext.form.ComboBox and a TinyMCE Editor, which uses an iframe for its body. The problem is that when the ComboBox has focus and the user clicks on the iframe, the ComboBox's blur event is not fired. If the user clicks back to the ComboBox, the focus event is also not fired. However, document.activeElement does change ...

jQuery siblings and $(this) blur and focus

I have a form with labels and input fields. When clicking into a field I want to style the field with CSS and display some information about the input requirements in a div under the label. The focus() and blur() events add the classes for styling the field just fine but trying to show/ hide the info divs triggers the methods on ALL fie...

How To Blur Image edges in Iphone

Hi, I have three UIImages added to three UIScrollviews that are positioned one under the other. I am trying to find a way to blur the adjacent edges that are between two scrollviews but am unable to find a way to do that. Can someone please suggest a way to achieve this? Any help will be appreciated Thank You Shumais Ul Haq ...

openFrameworks (C++): Blur, Glow and other classic effects

Hi guys, I was doing some simple openframeworks (C++ based) tests drawing different shapes and I was wondering how to apply filters like blur, glow... I come from an AS3 background where this is a piece of cake. I know it won't be that easy but I'd like to find some kind of lead. I've read some people is using ofxShader but I can't fi...

Any way to override .blur() if .submit() is called upon in jQuery?

I'm writing up custom code for a CMS for a website. When a user clicks on the submit button (created with jQuery UI), it calls the click event on the button, which in turn calls a submit event, which submits the form. Said form also checks specific fields to see if they have text, and will show error messages and deactivate the submit b...

Clearing default contents of textbox on focus with jQuery

I have a loginbar that can be used to login to 2 different systems depending on what value a user chooses from a dropdown. And then, I provide default values to fill each textbox depending on which login is chosen by the user. However, to make things easier for the user by clearing the default contents when the textbox receives focus, an...

Gaussian blur and convolution kernels

I do not understand what a convolution kernel is and how I would apply a convolution matrix to pixels in an image (I am talking about doing a Gaussian Blur operation on an image). Also could I get an explanation on how to create a kernel for a Gaussian Blur operation? I am reading this article (http://en.wikipedia.org/wiki/Gaussian_bl...

Javascript blur-click problem

I have the following code: HTML: <input type='text' class='a' /> <div class='inst' tag='a'></div> <input type='text' class='b' /> <div class='inst' tag='b'></div> <input type='text' class='c' /> <div class='inst' tag='c'></div> JS: $(function() { $('.inst').click(function() { alert($(this).attr('tag') + ' clicked'); ...

jQuery, $(this).parent() and blur()

I cannot get the blur() function in the following to work: $('.newselect').focus(function(){ $(this).parent().append('<div class="select_container"></div>'); }); $('.newselect').blur(function(){ $(this).parent().remove('.select_container'); }); However if I use a universal selector $('*') (as below) it works, why is this and h...

html canvas shape blur filter

There must be a way to do this. I have drawn a shape with the html5 canvas and I would like to blur it. As far as I know there is no native method so I assume a js library is needed. The problem is most libraries only blur images like this one for example. Is this possible? ...

Clearing Value on Multiple Inputs?

I have a jQuery script below that clears the value of an input on focus and puts it back on blur if the input remains empty. It works great, but here's the problem: Let's say I have 3 input fields on the same page. I click on the first one with the value "Name", defaultValue variable becomes "Name" and the field clears. If I click out, ...

gaussian blur with FFT

Hi, im trying to implement a gaussian blur with the use of FFT and could find here the following recipe. This means that you can take the Fourier transform of the image and the filter, multiply the (complex) results, and then take the inverse Fourier transform. I've got a kernel K, a 7x7 Matrix and a Image I, a 512x512 Matr...