[jQuery] Re: A better way of writing this code?

2009-05-15 Thread Pappy
While $("li a").hover(function(){ $(this).addClass("move"); }, function() { $(this).removeClass("move"); }); works well in theory, I've found that $("li a").hover(function(){ $("li a").removeClass("move"); $(this).a

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-05-13 Thread Pappy
ently running Safari Version 4 Public Beta (5528.16), but apparently this bug is occurring in v3 as well (and of course, Chrome). By ignoring exceptions generated from the above, and the equivalent line 2 statements later, my page loads and everything executes perfectly. _jason On May 13, 6:32 pm,

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-05-13 Thread Pappy
I am seeing the same error as Sulfura. My page works fine on Firefox and IE, but on Webkit-based browsers, any call to jQuery(function() {}) results in this error on line 83 of jquery-1.3.2.js -- TypeError: Result of expression 'jQuery( document ).ready' [undefined] is not a function I have rem

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Pappy
ng color:black when it's clearly not. > > On May 13, 11:52 am, Pappy wrote: > > > I'll give this one quick bump... anyone have any ideas what's going > > on? > > > On May 12, 1:48 pm, Pappy wrote: > > > > I am using a very simple tooltip on

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Pappy
I'll give this one quick bump... anyone have any ideas what's going on? On May 12, 1:48 pm, Pappy wrote: > I am using a very simple tooltip on my site (just text).  Depending on > where I am on the page, the text renders transparently or white, even > though the css 

[jQuery] [tooltip] Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-12 Thread Pappy
I am using a very simple tooltip on my site (just text). Depending on where I am on the page, the text renders transparently or white, even though the css 'color' is set to black. See this image for an example... http://i44.tinypic.com/idhhcz.jpg The tooltip is definitely the one shown as I ca

[jQuery] Re: jQuery-way for filtering self + all children

2009-05-04 Thread Pappy
.find(selector, "andSelf") On May 4, 4:47 pm, Brandon Aaron wrote: > FYI... There is an open enhancement ticket that proposes adding an optional > selector to the .andSelf() method.http://dev.jquery.com/ticket/4446 > -- > Brandon Aaron > > On Mon, May 4, 2009 at 5:11 PM, P

[jQuery] jQuery-way for filtering self + all children

2009-05-04 Thread Pappy
Just curious... what's the jQuery-way of saying "Give me all children that match a filter and include myself if I happen to match as well."? I've been using - element.find("*").andSelf().filter([myfilter]) but that seems kludgy. Is there a better way? If not, I'll just wrap this as "findInclus

[jQuery] Re: ajaxForm + IE + file upload + you

2009-04-03 Thread Pappy
Ah. That makes sense. I admit I skimmed the code and interpolated :) On Apr 3, 11:30 am, Mike Alsup wrote: > > When ajaxForm submits a form that has a file, it opens an iframe, > > copies your filled-in form to the iframe, submits the form *in the > > iframe*, then copies the response back to

[jQuery] ajaxForm + IE + file upload + you

2009-04-03 Thread Pappy
I just solved a nasty bug on my end and thought others might benefit from my pain. Our form code handle lots of different types of data. And forms can be loaded individually via AJAX. I recently started converting all of this code to jquery.ajaxForm. When ajaxForm submits a form that has a fil

[jQuery] Re: jQuery(this + child) ?

2009-02-26 Thread Pappy
as an alternative, you could do something like: jQuery(".class").click(function() { jQuery(this).toggleClass("highlighted"); }) then, in your CSS .class a { color: black; } .class.highlighted a { color: red; } On Feb 26, 7:40 am, Tze Yang Ng wrote: > Try the following: > > jQuery(

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-24 Thread Pappy
Liam, I think you're thinking of $("p, #foo"). Notice it's the difference between two params being passed in to the selector function (the original question) vs a single param that happens to be a comma separated list of selectors. On Feb 24, 6:00 am, Liam Potter wrote: > lol, but I'm interest

[jQuery] Re: remove live events from all children

2009-02-20 Thread Pappy
to figure out where the event should actually be removed though. On Feb 20, 6:59 pm, aquaone wrote: > jQuery("#id").find("*").die(); ? > > On Fri, Feb 20, 2009 at 18:46, Pappy wrote: > > > Well, while 'children' only gets me immediate descendants, I

[jQuery] Re: remove live events from all children

2009-02-20 Thread Pappy
icantly different selectors to 'live' and 'die'. On Feb 20, 6:12 pm, James wrote: > How about: jQuery("#id").children().die(); > > On Feb 20, 3:44 pm, Pappy wrote: > > > I am trying to remove live events from all children of an element > > (spec

[jQuery] remove live events from all children

2009-02-20 Thread Pappy
I am trying to remove live events from all children of an element (specifically, the element is a dialog window). jQuery("#id *").die() There's an "Invalid Quantifier" exception when creating the namespace RegExp in the remove function (line 2431, jquery.js v1.3.1). The asterisk is never escape

[jQuery] jqModal + datepicker = weird click behavior

2009-02-17 Thread Pappy
This was driving me crazy for a bit and noticed a few unsatisfying attempts to answer it on this list. Basically, jqModal registers an event on body that forces the window to move to the first input element when the user clicks anywhere outside of the main dialog. And since the datepicker window

[jQuery] Re: Problems with the New API Browser

2009-01-15 Thread Pappy
My biggest issue with the new site is a lack of 'summary' screens. I love being able to look at one page and take in all functions of a various type. Especially when there are two that are awfully similar and I can scan back and forth to differentiate between them. On Jan 14, 8:22 pm, James Van

[jQuery] human interest in face

2009-01-03 Thread pappy
More of the interest in money http://www.freewebs.com/williamsz/

[jQuery] human interest in face

2009-01-03 Thread pappy
More of the interest in money http://www.freewebs.com/williamsz/