[jquery-dev] Adding in support for 'focus' and 'blur' events using .live and .die

2009-08-06 Thread treshug...@gmail.com
Hey guys, I know about .livequery, but it didn't work for me. As a result, I wrote a plugin called bond (uses .bond and .unbond) that implements event delegation for 'focus' and 'blur' and works with *any* valid selector. The only downside is that I have to use a plugin to achieve this functional

[jquery-dev] event delegation

2008-10-24 Thread treshug...@gmail.com
I was wondering if event delegation was going to make it into the core anytime soon? Rebinding events can get tedious and make for more code than should be necessary. This would really put jQuery ahead of most of the other libraries also. If nothing is planned, I might see if I can gracefully int

[jquery-dev] Re: Proposal: Attributed events

2009-01-31 Thread treshug...@gmail.com
I agree with Flesler. jQuery is designed to abstract things such as this. I actually do have a plugin that allows a syntax easier than this. It's name is Keys and you can find it on the jQuery plugin site or at http://shugartweb.com/jquery/keys. It allows syntax such as $('input').keys('tab, spa

[jquery-dev] Re: Proposal: Attributed events

2009-02-01 Thread treshug...@gmail.com
I also want to say, sorry for the poor documentation. It is a site that I have recently started messing around with and will hopefully get around to finishing sometime. In the meantime, if there are any questions, please feel free to contact me. --~--~-~--~~~---~--~---

[jquery-dev] Re: Put JS at the bottom

2009-02-08 Thread treshug...@gmail.com
Putting your js at the bottom of the page is essentially the same as putting it in jQuery(function() {}), or .ready. The Yslow plugin doesn't take into account that you are using jQuery and are implementing the ready event. I have run a couple of tests for the software company I work for and have

[jquery-dev] Re: Put JS at the bottom

2009-02-09 Thread treshug...@gmail.com
Good point, Mar. Users will judge a site within a fraction of a second. If the page seems unresponsive for that long, it can't fare well. Pages can 'seem' to load faster if scripts are put at the bottom due to the fact that it prevents progressive rendering (which is a good side effect of putting

[jquery-dev] Re: There must be a better way !

2009-02-11 Thread treshug...@gmail.com
Klaus is right. I know older versions of IE (< 6) have had issues with this. The W3C CSS 2.1 specifically states that quotes are optional (http:// www.w3.org/TR/CSS21/syndata.html#uri). IE always was and always will be a leper, it's just too bad it hasn't died yet. -Trey --~--~-~--~---

[jquery-dev] Re: There must be a better way !

2009-02-13 Thread treshug...@gmail.com
As Klaus said, it isn't a bug. It is just how a browser will 'normalize' the html. And actually, we're talking about CSS. CSS 2.1 to be exact, and as I pointed out, the W3C specifically states that quotes are optional. Therefore, a browser can normalize the quotes however they want. That being sai

[jquery-dev] Re: Forcing an event handler to be the first handler

2009-02-14 Thread treshug...@gmail.com
Although I don't have a solution for you, whenever I am posed with a situation like this, there is always a better way to approach something. If I ever find myself about to implement a hack or workaround, I stop and think, "Is this really necessary?" Sometimes it is, but most of the time a better

[jquery-dev] ajax not posting

2009-02-24 Thread treshug...@gmail.com
http://dev.jquery.com/ticket/4239 I've created a ticket for this. Anyone else experience this? -Trey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to

[jquery-dev] Structure Plugin Authoring

2009-03-04 Thread treshug...@gmail.com
There has been a lot of activity about plugin authoring and how it can be more structured and extensible. I've posted a couple of comments on some threads and sent an email to John, but I thought I'd create a new thread since I haven't had any feedback yet. John, I understand you probably get a lo