Because Modernizr (http://modernizr.com) already does these sorts of
tests, it seemed that it could act as a plugin conduit to achieve the
same goal.
So in the current dev master of Modernizr, jQuery.support will be
extended with the test results.
http://github.com/Modernizr/Modernizr
Enrique an
I don't think it's a good idea because not all developers use border-
radius or expressions.
It could make a valuable plugin (if not already existing), though.
On Nov 14, 12:28 am, Daniel Friesen wrote:
> Don't forget -khtml, WebKit also supports it, but I recall reports that
> some versions of K
yup, debounce is the better term.
On Mar 28, 12:01 pm, Brandon Aaron wrote:
> Just to add another use case of such methods... I recently wrote a delayed
> mousemove special event that does similar functionality. I plan on
> extracting the throttle/debounce functionality into its own plugin for
>
Just to add another use case of such methods... I recently wrote a delayed
mousemove special event that does similar functionality. I plan on
extracting the throttle/debounce functionality into its own plugin for
use-cases such as this ajax one.
--
Brandon Aaron
On Sat, Mar 28, 2009 at 1:53 AM, ol
Quick passes:
jQuery.delay = function(callback, delay) {
var timeout;
return function() {
clearTimeout(timeout);
timeout = setTimeout(callback, delay);
}
}
jQuery.throttle = function(callback, delay) {
var prev = new Date().getTime(
I agree that this is a common use case, and also that it would be
better implemented as an optional parameter to ajax rather than a
wholly separate method.
I find I also use similar code within animations, so perhaps the code
could be implemented in such a way as to also be exposed as a utility
f
Rather than an entire other function, what about just a {delay: ms} to .ajax
~Daniel Friesen (Dantman, Nadir-Seen-Fire)
Miloš Rašić wrote:
> Here's a suggestion for a feature that I think would be useful to AJAX
> developers. Sometimes, we need an AJAX feature that could allow a user
> to cause
On Mon, Feb 23, 2009 at 12:33 PM, Alexandre Plennevaux <
aplennev...@gmail.com> wrote:
>
> Hello,
>
> i just noticed that the jquery ui demos use locally hosted jquery +
> jquery UI scripts.
>
> Wouldn't it be a good idea to use the google ajax api repository? That
> would boost the presence of t
> Make sure you are using jQuery 1.3.1. In 1.3.0 there was an issue where live
> wasn't working properly for elements that were not matched in the DOM at run
> time.
More specifically - it was only for the case of $("#foo") (ID selector
- and nothing else). Everything else worked fine.
--John
-
Make sure you are using jQuery 1.3.1. In 1.3.0 there was an issue where live
wasn't working properly for elements that were not matched in the DOM at run
time.
--
Brandon Aaron
On Sat, Jan 31, 2009 at 12:20 PM, NeoTech wrote:
>
> I have been having to rewrite functions as append, html, before,
"I have tried live. but that only works if you have data injected
before you start."
Can you expand on this, at all? I would've recommended that you try .live().
--John
On Sat, Jan 31, 2009 at 10:20 AM, NeoTech wrote:
>
> I have been having to rewrite functions as append, html, before, and
>
I've created a ticket describing the specific problem with the Alpha
filter, and my proposed solution. Including a simplified test case
from a real world implementation where I first stumbled across this.
Hope it's not redundant and that it helps. My solution should not be
intrusive either (ie. w
One thing that I worry about when completely blowing away the filter
attribute is that it'll break any of those IE PNG hacks that exist
(this issue came up before). So if we were to do it we'd have to be
sure to only replace the alpha value.
--John
On Sat, Jan 17, 2009 at 8:20 AM, Balazs Endre
As I stated in the ticket.. doing that could cause undesired effects,
f.e:
#foo{
filter:alpha(opacity=0);
opacity:0;
}
...
$('#foo').fadeIn();
If I'm not wrong, once the fade in ends the element will disappear.
--
Ariel Flesler
http://flesler.blogspot.com
On Jan 16, 3:45 pm, prefect wro
Hi, there is a test case here combined with a simple solution by Mike
Alsup:
http://jquery.malsup.com/fadetest.html
On Jan 16, 11:26 pm, prefect wrote:
> Ah, yes. I came across a particularly nasty side effect with clipping
> of content with the alpha filter (I'd assume several filters do the
>
There are some open related tickets, see this one:
http://dev.jquery.com/ticket/3502
Sounds like alpha(enabled=false) may address some of those.
The quirksmode.com discussion makes it sound like this will be even
trickier with IE8, although I don't know how recent this info is:
http://www.quir
Perfect - using that we can definitely implement a solution. We'll
probably tackle this for 1.3.2.
--John
On Fri, Jan 16, 2009 at 5:26 PM, prefect wrote:
>
> Ah, yes. I came across a particularly nasty side effect with clipping
> of content with the alpha filter (I'd assume several filters do
Ah, yes. I came across a particularly nasty side effect with clipping
of content with the alpha filter (I'd assume several filters do the
same, but alpha is what I've tested).
I'll be sure to make a simple test case demonstrating the problem
tomorrow (late in Norway now), which affects both IE 6
I agree. There are also issues related to text quality when using
filters in IE so I've been removing the filter attribute after using
animations such as fadeIn.
element.style.removeAttribute('filter')
This fixes the crappy text quality bug when an elements alpha opacity
is set to 1.
On Jan 16
Hmm, an interesting point. Do you have any test cases where the
negative effect of an alpha filter is readily available? (It would
help up to diagnose any problems if we were to implement this.)
If you can think of one then feel free to file a ticket!
http://dev.jquery.com/newticket
--John
On
I have two recent asp.net integration scenarios. I used to work with classic
asp and the library so i was able to ignore many concepts that my coleagues
has, they are core asp.net developers.
The first project was a product control system. We integrated jQuery,
ajax.net and telerik lib. The projec
Would you mind creating an enhancement ticket for this, so it doesn't get
lost? And please share anymore of your experiences like this of integrating
.Net with jQuery! http://dev.jquery.com/newticket/
--
Brandon Aaron
On Thu, Oct 9, 2008 at 1:44 AM, Travis Simon <[EMAIL PROTECTED]> wrote:
>
> Yes
Yes, I have managed to get it to work reasonably well for my purposes.
My suggestion is just that - a suggestion for the JQuery community.
Apparently Microsoft will be shipping JQuery in its next release
of .Net, and little issues like this will make the experience easier
for those users, and will
just use "classic" programming on asp.net, post normaly using jquery then
analyse on the code behind if the stuff you posted got there and then fire
your method. if you need a return just write it and end the response. works
dandy on the project i am
On Wed, Oct 8, 2008 at 7:32 PM, Travis Simon <[
24 matches
Mail list logo