Re: [jquery-dev] slideToggle() bug?

2010-01-18 Thread Scott Sauyet
On Fri, Jan 15, 2010 at 5:59 PM, ScottChiefBaker wrote: > http://jsbin.com/ovemo > > toggle('slow') and slideToggle('slow') both do the same thing. Is this > somehow related to "display: block" on the sliding image? Is there > another way to slide in and out the last cell of the table? Or is this

Re: [jquery-dev] JQuery help for Dynamic Tree creation.

2010-01-18 Thread Scott Sauyet
On Sat, Jan 16, 2010 at 9:23 AM, asharjqry wrote: > I am new to JQury. And curretnly I am using Jquery 'Column Navigation' > plugin (from http://source.polaris-digital.com/column-navigation/) to create > a dynamic file tree. This list is for discussions of the development of jQuery itself. You'll

Re: [jquery-dev] Re: jQueryLINT

2010-01-15 Thread Scott Sauyet
On Fri, Jan 15, 2010 at 2:11 PM, Jason Persampieri wrote: > I think you're still not quite understanding what Dave is suggesting. Timing! :-) -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email t

Re: [jquery-dev] Re: jQueryLINT

2010-01-15 Thread Scott Sauyet
On Fri, Jan 15, 2010 at 2:02 PM, Diego Perini wrote: > Why should we inflict these no sense conditionals onto everybody. > Should we then check every parameter of every method too, just to be > helpful to one people not remembering signatures or lazy to lookup a > documentation page ? I think you

Re: [jquery-dev] QUnit and browserless testing

2010-01-13 Thread Scott Sauyet
On Wed, Jan 13, 2010 at 11:27 AM, chris thatcher wrote: > Given that about 85% of statistics are made up on the spot [ ... ] Actually, recent research shows that this number has fallen to a 60-year low of 78% during the first year of the Obama administration... :-) -- Scott -- You received t

Re: [jquery-dev] Re: jQuery.event.special['type'].add modifies handler of other types

2010-01-13 Thread Scott Sauyet
On Wed, Jan 13, 2010 at 3:39 AM, helianthus wrote: > I see no fix on this bug in v1.4rc1?? Did you file a bug report at http://dev.jquery.com/ ? -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 4:46 PM, blizzard wrote: > got it.  that works perfectly now.  will this be fixed in the final > version? Confirmed. I don't get the error either. Great work, John! -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Develop

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 3:42 PM, blizzard wrote: > Ok, I updated the script.  Now is says that xhr is null at line 4970. Ditto. -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@go

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 2:53 PM, blizzard wrote: > I tried this on Windows 7  and on Windows 2003 server I just posted a screenshot confirming the error, http://dev.jquery.com/attachment/ticket/5788/screenshot_scott_sauyet_2010-01-12a.png I get no error unless Firebug is open. This consis

Re: [jquery-dev] Re: jQuery.event.special['type'].add modifies handler of other types

2010-01-11 Thread Scott Sauyet
On Sun, Jan 10, 2010 at 2:20 AM, helianthus wrote: > I have just looked into the code and have found out where it goes > wrong. > > It is at this line: > http://github.com/jquery/jquery/blob/master/src/event.js#L102 > where it overwrites the original handler with a modified one even for > other t

Re: [jquery-dev] Are newcomers welcome here?

2010-01-11 Thread Scott Sauyet
On Fri, Jan 8, 2010 at 6:41 PM, Clifford Heath wrote: > On 09/01/2010, at 12:26 AM, Scott Sauyet wrote: >> >> It seems to me that you did get serious responses when you posted in >> one of the innumerable recent threads about JSON changes. > > I've said nothing a

Re: [jquery-dev] Re: Are newcomers welcome here?

2010-01-08 Thread Scott Sauyet
On Fri, Jan 8, 2010 at 11:51 AM, DBJDBJ wrote: > @Scott, you surprise me ?   must be > Also what are the legal attributes to the ? > And last but not the least: in which name space is defined? UPML 3.2 [1] All attributes are illegal. In which name *what* ? -- Scott [1]

Re: [jquery-dev] Are newcomers welcome here?

2010-01-08 Thread Scott Sauyet
On Thu, Jan 7, 2010 at 10:56 PM, Clifford Heath wrote: > Why can't I get a response when I write here? It seems to me that you did get serious responses when you posted in one of the innumerable recent threads about JSON changes. Outside that, I've seen your name in the discussion about Event fi

Re: [jquery-dev] ajax form plugin submit button

2010-01-06 Thread Scott Sauyet
On Tue, Jan 5, 2010 at 10:21 AM, Alex wrote: > I have a problem submitting a form tag with submit buttons. many of > the scripts used in that page require the name of these submit buttons > to work correctly. This group is for discussing the development of jQuery itself. You'll probably have bet

[jquery-dev] Re: attr() is still very broken in 1.4a1

2009-12-14 Thread Scott Sauyet
On Dec 13, 11:27 pm, Matt wrote: I'm not going to jump into these murky waters, but I want to follow up on this bit: > As it is now, I always recommend that attr() be avoided in code, and > if someone uses it in code I am looking at, I tell them to remove it. > It's too fragile and the logic tha

[jquery-dev] Re: Code Optimization & Safari Syntax Error

2009-12-07 Thread Scott Sauyet
Forget it. My brain is clearly fried, and no one should listen to anything I say today. -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this

[jquery-dev] Re: Code Optimization & Safari Syntax Error

2009-12-07 Thread Scott Sauyet
On Dec 7, 9:15 am, Scott Sauyet wrote: > This group is for discussing the development of jQuery itself.  You'll > probably have better luck in the main jQuery group: Sorry, copied something from a Dev-group post. don't know how that got in here. :-( -- Scott -- You recei

Re: [jquery-dev] Code Optimization & Safari Syntax Error

2009-12-07 Thread Scott Sauyet
On Sun, Dec 6, 2009 at 2:07 PM, specik wrote: > Hey all, I would consider myself an intermediate jQuery developer. I'm > building a new site and as part of it, there's a lot of a jQuery code [ ... ] This group is for discussing the development of jQuery itself. You'll probably have better luck i

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Scott Sauyet
On Tue, Dec 1, 2009 at 8:21 PM, Julian Aubourg wrote: > Anyway, the code has been comitted at http://github.com/jaubourg/jquery Just started looking at this, and it makes a great deal of sense to me. As to the extension API, would this be simpler?: jQuery.transport.install("script", {

Re: [jquery-dev] Re: Ant build

2009-12-02 Thread Scott Sauyet
On Wed, Dec 2, 2009 at 10:12 AM, DBJDBJ wrote: > @Scott : I have never met any "poor soul" , who pays my fees and who > is in the same time not "stuck in the MS-land". Game over. Sorry, I'm working this week with C++ for the first time in more than five years and with Visual Studio for the first

Re: [jquery-dev] Re: Ant build

2009-12-01 Thread Scott Sauyet
On Tue, Dec 1, 2009 at 12:14 PM, DBJDBJ wrote: > Actually even better would be jquery.proj. > That is a "make file" for msbuild.exe which comes with .NET 2.0 > Which makes it available on 99% of PC's on the planet. > I have made one, if anyone is interested. Although it (still) does not > "go out"

Re: [jquery-dev] Maybe an HOVER bug?

2009-11-27 Thread Scott Sauyet
On Fri, Nov 27, 2009 at 6:12 AM, Danny wrote: > [ ... ] I downloaded jdMenu 1.3.beta2 and it worked fine. However I > found that the jQuery version in the plugin is 1.1.2 so I replaced it > with 1.3.2. Then the trouble comes. > [ ... ] In the plugin jdMenu.js the author uses $(li).hover > (hoverOv

Re: [jquery-dev] Re: position() in Firefox

2009-11-19 Thread Scott Sauyet
On Thu, Nov 19, 2009 at 12:47 PM, mkeppler wrote: > FF an IE8 give you the same values? Strange, i get different values, > which Version of Firefox do you use? > I use 3.5.5 Same for me. I've posted a number of screenshots at http://scott.sauyet.com/issues/2009-11-19a (The images are links

Re: [jquery-dev] Re: Event Delegation Plugin -- Needs feedback

2009-11-19 Thread Scott Sauyet
On Wed, Nov 18, 2009 at 8:22 PM, xwisdom wrote: > Thanks for the feedback. > >>     $(context).delegate('li:even, li:odd', 'click', callback) >>     $(context).delegate('li' 'click.namespace', callback) Actually, the more I think about it, the more I think that this is still more readable: $

Re: [jquery-dev] position() in Firefox

2009-11-18 Thread Scott Sauyet
On Wed, Nov 18, 2009 at 12:01 PM, mkeppler wrote: > The values in IE are the correct values, the Firefox returns greater > values. I'm not quite sure what that would mean... Each browser is telling you where the item is according to its box model. Are they in the identical place in the two brow

Re: [jquery-dev] Event Delegation Plugin -- Needs feedback

2009-11-18 Thread Scott Sauyet
On Tue, Nov 17, 2009 at 10:06 PM, xwisdom wrote: > I've put together a little plugin that's based on Zach's $.live(). > [ ... ] > Check out the source code here: > http://raxanpdi.com/blog-jquery-event-delegate.html I think this is worth doing, but I'm trying to understand the advantage of your

Re: [jquery-dev] Re: [OT] Fixing IE's CSS with jQuery

2009-11-15 Thread Scott Sauyet
On Sat, Nov 14, 2009 at 4:41 PM, weepy wrote: > I plan to add these in - should be fairly straight forward. I think > i'll change the API to use a selector to target the relevant document > nodes that require parsing. It might make sense to add a custom selector, so that either the plug-in or it'

Re: [jquery-dev] Re: [OT] Fixing IE's CSS with jQuery

2009-11-13 Thread Scott Sauyet
On Fri, Nov 13, 2009 at 11:55 AM, Matt wrote: > On Nov 13, 8:12 am, Scott Sauyet wrote: >> Looking at the implementation (without doing any real testing) I'm >> wondering about something.  Why do you start by looping through the >> tags rather than starting with d

Re: [jquery-dev] Re: $.ajax feature matrix

2009-11-13 Thread Scott Sauyet
On Thu, Nov 12, 2009 at 1:15 PM, John Resig wrote: >> I think the one area that would be troublesome is in the properties >> that xhr provides (like readyState, responseXML, etc.). I'm not sure >> how you'd build this mock XHR and keep those properties up to date. On Thu, Nov 12, 2009 at 10:14 PM

Re: [jquery-dev] [OT] Fixing IE's CSS with jQuery

2009-11-13 Thread Scott Sauyet
On Thu, Nov 12, 2009 at 4:59 PM, weepy wrote: > Not strictly jQuery Dev, but you guys might find it an interesting technique: > [ ... ] > http://blog.parkerfox.co.uk/2009/11/12/css-in-your-face-only-ie-need-to-apply/ Well now I don't need to write it. I just thought of this idea last week and st

Re: [jquery-dev] Re: Calling callback in $.post & $.get on error

2009-11-09 Thread Scott Sauyet
+1 > Hmm. It'd be neat if we could somehow return just jQuery(xhr) but > that's not really possible, not without breaking code, at least. It might just be possible, if jQuery(xhr) was then extended with the xhr API. I don't know if there is some overlap that would make this impossible, and I'm r

Re: [jquery-dev] Calling callback in $.post & $.get on error

2009-11-09 Thread Scott Sauyet
> Another option could be a modified error callback and actually have it > work like this: > > $.get("someurl", function(data, errorMessage){ >  if ( data ) { >    // got results >  } else { >    // got error >    alert( errorMessage ); >  } > }); > > Thoughts on this? This one looks cleaner to me

Re: [jquery-dev] IE bug in carousel3d plugin on image click after ajax call

2009-11-09 Thread Scott Sauyet
On Fri, Nov 6, 2009 at 5:22 PM, bourne_net2009 wrote: > I have a IE bug in carousel3d plugin on image click animation after > ajax call. You're asking on the wrong list. This list is for the development of the jQuery library itself. Discussions on how to use jQuery and its plug-ins is on the ma

Re: [jquery-dev] Re: Should $.map() also work for objects?

2009-10-30 Thread Scott Sauyet
On Fri, Oct 30, 2009 at 11:13 AM, gMinuses wrote: > OK, the real-world use is this: > > I'm writing a plugin for jquery that implements mvc pattern, and it > works like this: > > [ ... ] > > $.mvc.controller({ >    myController: { >        myAction: function() { >            // Pass in a callback

Re: [jquery-dev] Re: $.fn.add(selector) and context

2009-10-30 Thread Scott Sauyet
On Fri, Oct 30, 2009 at 10:34 AM, Scott Sauyet wrote: > There's something -- let's say redundant -- about this line.  :-) Ignore me. Brain fart. -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To p

Re: [jquery-dev] Re: $.fn.add(selector) and context

2009-10-30 Thread Scott Sauyet
>       || this.context && (this.context.ownerDocument || this.context) There's something -- let's say redundant -- about this line. :-) -- Scott (a && (b || a)) == a -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this gr

Re: [jquery-dev] Re: Should $.map() also work for objects?

2009-10-30 Thread Scott Sauyet
On Fri, Oct 30, 2009 at 2:22 AM, gMinuses wrote: > It's very detailed, thank you for the demos! But I don't quite > understand the purpose of them. I was trying desperately to come up with some real-world use of your suggestion, and noted that your example used callbacks, and I thought you might

Re: [jquery-dev] Re: Should $.map() also work for objects?

2009-10-30 Thread Scott Sauyet
On Fri, Oct 30, 2009 at 8:37 AM, gMinuses wrote: >> If your argument is scoping, it is not enough. > > I don't quite understand what your are saying, could you be more > specific? The main point, I think, is that you have not convinced either of us of the worth of your proposed extension. Can yo

[jquery-dev] Re: Should $.map() also work for objects?

2009-10-29 Thread Scott Sauyet
On Oct 29, 11:19 pm, gMinuses wrote: > But making map() functions work on hashes makes sense, so why rule > them out? I'm not convinced. Is this the sort of usage, you are considering?: var newMap = function(obj, fn) { var options = $.extend( {}, obj); for (key in options) {

Re: [jquery-dev] Should $.map() also work for objects?

2009-10-29 Thread Scott Sauyet
On Thu, Oct 29, 2009 at 4:56 AM, gMinuses wrote: > I'm not sure if it's necessary, but I feel It'd be nice that we can > pass an object to $.map(), so that jquery will iterate over it's > properties and modifies values by calling the callback function: I think that would be quite different from t

[jquery-dev] Re: CHROME 4.0.223.9 + jQuery

2009-10-26 Thread Scott Sauyet
On Fri, Oct 23, 2009 at 7:22 PM, DBJDBJ wrote: > > What a waste of time ... Agreed > I have posted the code which neither of you > have checked in her browsers ... Yes, that would clearly be a waste of time... > @Scot : where is the definition/explantaion of the CSS2 computed > values about t

[jquery-dev] Re: CHROME 4.0.223.9 + jQuery

2009-10-26 Thread Scott Sauyet
On Sat, Oct 24, 2009 at 9:49 AM, DBJDBJ wrote: > I "follow" this yes, I am just "wondering" if this FF "feature" might > break "something somewhere" in jQ, So this is the question now? The way I remember it, the original question was "Chrome or JQuery or me , whose fault is this ?" -- Scott

[jquery-dev] Re: Multi drag and drop/sortable

2009-10-26 Thread Scott Sauyet
On Fri, Oct 23, 2009 at 2:18 AM, sri wrote: > I am looking for a multi drag and drop and multi sortable feature . > [ ... ] > Please suggest me how to do in jQuery and show demo site if available This group is for discussion on the development of jQuery core itself, and not on how to use it. Pl

[jquery-dev] Re: Append some parameters in every ajax call's query string automatically

2009-10-26 Thread Scott Sauyet
And I want to apologize for reopening the named function debate. All I meant to point out earlier was that in this case the named expression was not actually necessary, as it wasn't actually being used. (As Andrea responded, it can be helpful for debugging though.) -- Scott --~--~-~-

[jquery-dev] Re: Append some parameters in every ajax call's query string automatically

2009-10-26 Thread Scott Sauyet
On Fri, Oct 23, 2009 at 9:14 PM, gMinuses wrote: > [ ... ] > But doe it mean I have to write code like this to make an ajax: > // [ ...] > $.ajax({ >    url: './index.html', >    data: $.ajaxSetup.ext({ >        customKey: "customValue" >    } > }) Yes, I'm afraid it does. In any solution that

[jquery-dev] Re: CHROME 4.0.223.9 + jQuery

2009-10-23 Thread Scott Sauyet
Oh, I certainly caught the sarcasm. DBJDBJ's question piqued my curiosity. I wanted to see if the spec had something to say about how getComputedStyle worked with elements not in the DOM. It did. I couldn't tell if DBJDBJ was intending some sarcasm as well or simply was too lazy to Google it b

[jquery-dev] Re: Append some parameters in every ajax call's query string automatically

2009-10-23 Thread Scott Sauyet
However, I'm not sure I understand the advantage of the above over the arguably simpler: jQuery.ajaxSettings.ext = function(o) { var k, result = {}; if(this.data) { for(k in this.data) result[k] = this.data[k] ;

[jquery-dev] Re: Append some parameters in every ajax call's query string automatically

2009-10-23 Thread Scott Sauyet
On Thu, Oct 22, 2009 at 9:57 PM, gMinuses wrote: > I'm sorry, but I don't quite understand your code. It took me a while to get it, too. Obviously Andrea can tell you better, but perhaps a mere mortal can explain it better to other mortals. :-) First of all, you need to know that jQuery.ajaxS

[jquery-dev] Re: CHROME 4.0.223.9 + jQuery

2009-10-23 Thread Scott Sauyet
On Fri, Oct 23, 2009 at 11:11 AM, DBJDBJ wrote: > What does W3C DOM spec says? "Since a computed style is related to an Element node, if this element is removed from the document, the associated CSSStyleDeclaration and CSSValue related to this declaration are no longer valid." -- http://www.w3.

[jquery-dev] Re: What is the key difference ?

2009-10-07 Thread Scott Sauyet
On Wed, Oct 7, 2009 at 11:50 AM, DBJDBJ wrote: > > Ah, "elementary my dear Watson" ... > http://jquery.com/src/nightlies/jquery-nightly.js  is version 1.4pre > > While (until today 2009 OCT 07 ) > http://jquery.com/src/nightlies/jquery-nightly.pack.js  is/was version > 1.3.3pre Good catch. I gu

[jquery-dev] Re: What is the key difference ?

2009-10-07 Thread Scott Sauyet
On Wed, Oct 7, 2009 at 4:12 AM, DBJDBJ wrote: > @Scott ... It is really rather simple to prove that toggle() is not > working, using dbj.org/h.htm and IE8 or C or FF javascript > consoles Yeah, that's pretty useless unless you're trying to figure out what the problem is and how to fix it! In

[jquery-dev] Re: What is the key difference ?

2009-10-06 Thread Scott Sauyet
On Tue, Oct 6, 2009 at 10:34 PM, Scott Sauyet wrote: >    2. You are using a min-ified version of jquery.  I'm not. > > Because of how we've been going in circles, I suspect #2.  Have you tried > with a non-minified version?  If that's the issue, then it shoul

[jquery-dev] Re: What is the key difference ?

2009-10-06 Thread Scott Sauyet
DBJDBJ wrote: > I do disagree. Matts original page is not working with the latest > jQuery. > Please see http://dbj.org/o.htm For comparison, see http://scott.sauyet.com/Javascript/Demo/2009-10-06a/ > I simply saved localy (using IE8) Matts original and then uploaded it > to dbj.org > I am

[jquery-dev] Re: What is the key difference ?

2009-10-06 Thread Scott Sauyet
> "...Can you build a page that works properly with 1.2 and not with the > latest? ... " > On dbj.org/h.htm , just click on the link to Matt Kruse original and > you will have that page ... It uses "jQuery 1.2.1" Right, and the link I sent above (http://jsbin.com/atojo) is a version of the same p

[jquery-dev] Re: What is the key difference ?

2009-10-06 Thread Scott Sauyet
On Tue, Oct 6, 2009 at 8:38 AM, DBJDBJ wrote: > > @Scott, thanks for the effort. But the starting point still remains: > all of this was working OK with jQuery 1.2, >  as evident on Matt Kruse original page : > http://www.javascripttoolbox.com/jquery/ And I've been trying to point out that this

[jquery-dev] Re: LI.offset() and LI.position() give erratic results

2009-10-05 Thread Scott Sauyet
On Mon, Oct 5, 2009 at 3:55 PM, Kevin Dalman wrote: > I have a navbar UL element nested a few levels deep within DIVs that > provide page structure. The UL is also nested within a SPAN (inline- > block) so the UL element can be centered within DIV#Nav1. A stripped- > down version of the HTML is s

[jquery-dev] Re: What is the key difference ?

2009-10-05 Thread Scott Sauyet
On Mon, Oct 5, 2009 at 2:48 PM, I wrote: > If you're calling with a number of functions, it looks as though [toggle] > will choose a successive function to run after each call, but in that > case, it does not automatically hide or show the element; is that > right? No, it's not right. A single f

[jquery-dev] Re: What is the key difference ?

2009-10-05 Thread Scott Sauyet
On Mon, Oct 5, 2009 at 11:42 AM, DBJDBJ wrote: > @Scott, please look into:  http://jsbin.com/ipabi/edit > > This code works (nicely) in FF and C, and (not so nicely)  IE > (btw: there is no global 'toggle' in there) Perhaps not global, but it is shared among everything matching "tr.parent". It

[jquery-dev] Re: about the dialogbox

2009-10-05 Thread Scott Sauyet
On Mon, Oct 5, 2009 at 9:24 AM, Justinas Urbanavicius wrote: > is there any way to call the dialog just, to show the string contained in a > var ? >  without writing it to the div ar any other element. This is the wrong forum for that. Try asking on the jquery-ui list. -- Scott --~--~--

[jquery-dev] Re: What is the key difference ?

2009-10-05 Thread Scott Sauyet
On Fri, Oct 2, 2009 at 8:11 PM, DBJDBJ wrote: > > toggle() and TR do not go very well together ... > > http://jsbin.com/ipabi/edit > > This is the version using fadeIn/fadeOut This suffers from the problem that you are using one global 'toggle' variable for all rows. There are other ways to ach

[jquery-dev] Re: What is the key difference ?

2009-10-02 Thread Scott Sauyet
I see the problem in FF, so I don't think it has anything to do with IE specifically. Using Matt's original markup, modifying the code only by removing the "@", and making minor tweaks to the CSS to make borders visible in jsBin, I got it working with the nightly here: http://jsbin.com/ixofe

[jquery-dev] Re: Error in code sample in jQuery Docs

2009-09-30 Thread Scott Sauyet
On Wed, Sep 30, 2009 at 7:17 AM, emmbee wrote: > I've discovered a typo in the jQuery plugin example code here: > > http://docs.jquery.com/Plugins/Authoring#Putting_It_All_Together > > The closing curly bracket of the myPlugin function body has an > extraneous closing parenthesis after it. Good

[jquery-dev] Re: Hide 'n Show Stopper

2009-07-27 Thread Scott Sauyet
> As a side note, we had a div containing float:left blocks and an empty > "anchor" div at the bottom with clear:both; the container must > included the anchor, and by extension the blocks above it. That's the > W3C recommended way of keeping floats inside of a block, so design > wise the CSS was