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 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...
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?
...
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...
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
...
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
$('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...
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...
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 ...
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...
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
...
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...
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...
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...
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...
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');
...
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...
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?
...
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, ...
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...