[jquery-dev] Re: Rename bind/unbind?

2009-07-21 Thread Gilles
If the all name is still around then it is ok, it's just sometimes in the past changes where made that would not support earlier ways of doing thing which lead to plugins no longer working. If it's more an alias that is created than I am up for it. I like Daniel's idea of event(), couldn't make

[jquery-dev] Re: IE6: alive, well and prosperous

2009-07-17 Thread Gilles
Stop supporting IE or even just IE6 would be very unprofessional, it's not a question of balls, it's a question of professionalism. Not supporting IE doesn't damage IE in any way, it's the end user that get all the problems. Some company keep using IE6 not always because their employees can't

[jquery-dev] Re: Mercirual - HG - BitBucket

2009-07-17 Thread Gilles
Isn't the google stuff more than good enough tho :) After if it is mostly for personal use, do your own patches before submitting them, then I dont see what stop you jQuery is open-source after all :) --~--~-~--~~~---~--~~ You received this message because you are

[jquery-dev] Re: Rename bind/unbind?

2009-07-17 Thread Gilles
element.bind('click', someFunction, this); - This way allow backward compatibility. Your way, renaming the functions the most uses in plug-in, will mean an aweful lot of developers will have to go through their code and update it. And to be honest I don't see how anything else could describe

[jquery-dev] Re: Fading issue in IE

2009-06-09 Thread Gilles
Fixed by just wrapping the image tag in some div and playing with the div instead. However IE8 seems to have issues still renderinf fading transition properly, the images can sometimes have few pixels jerky before fading and it fade faster than firefox for some reason. Otherwise it works. Thanks

[jquery-dev] Re: IE6 rules the roost and shows no signs of leaving anytime soon.

2009-06-04 Thread Gilles
The only one that could give us proper number (well more accurate ones) is Microsoft itself as they must be able to track how many download of each version they had and how many version of windows have been send out. Even that wouldn't be that accurate due to cracked copies around the world. I

[jquery-dev] Fading issue in IE

2009-06-03 Thread Gilles
Or well something like that. Basically i wrote a little plugin that load and switching between images, everything works perfectly apart from the fading transition not working under IE. I think it might have something to do with the way IE handle new images loaded in an image tag but I am unsure

[jquery-dev] Re: FYI: something new in Ext Core

2009-04-09 Thread Gilles
) matched.push( cur ); cur = cur[dir]; n++; } return matched; }; to allow the limit on parents as parent and parents use the same .dir function. (unfortunately I am still crap some my code is probably wrong :( ) On Apr 9, 12:37 pm, Gilles gil...@netxtra.net wrote

[jquery-dev] Re: Conflict between 2 jquery components

2009-04-09 Thread Gilles
Firefox error console report: $(document).ready is not a function, so there is a conflict somewhere, it is probably mootools taking over the $ Maybe this page would help: http://docs.jquery.com/Core/jQuery.noConflict Have you tried call your jquery and then underneath call all the jquery

[jquery-dev] Re: FYI: something new in Ext Core

2009-04-09 Thread Gilles
Don't klnow what happen there, got submitted when I was not done, excuse the broken fingers. The code is obviously not write... On Apr 9, 12:37 pm, Gilles gil...@netxtra.net wrote: I would prefer Mike 2nd approach, not sure the this.each is required if it does the job without it, it's just

[jquery-dev] Re: Not working Properly in Mozila

2009-04-04 Thread Gilles
Also you might want to add: script src=jquery-1.3.2.js type=text/javascript/script before all the other script tags, so you actually load JQuery before trying to use it :) On Apr 3, 5:46 pm, David Zhou da...@nodnod.net wrote: On Fri, Apr 3, 2009 at 8:42 AM, Dev ajoymahat...@gmail.com wrote:

[jquery-dev] Re: Not working Properly in Mozila

2009-04-04 Thread Gilles
unless you packed it in jquery-fadeout.js ofc :) On Apr 4, 3:36 pm, Gilles gil...@netxtra.net wrote: Also you might want to add: script src=jquery-1.3.2.js type=text/javascript/script before all the other script tags, so you actually load JQuery before trying to use it :) On Apr 3, 5:46

[jquery-dev] Re: Color library

2009-04-03 Thread Gilles
Nice work guys, looking good so far :) I tried your page on FF 3.0.1 however I get $.browser.version = 1.9.0.6. at the bottom right of the page. Didn't wanted to disrupt the thread, but want to point that out just in case. On Apr 1, 11:10 am, Mark Gibson jollyt...@gmail.com wrote: Hi Daniel,

[jquery-dev] Re: TaskSpeed Against DOM

2009-04-02 Thread Gilles
It would be good to see DOM speed results compare to other libraries and see which libraries comes the closest to it. But I would never expect any library to match it on all tests. But then again that TaskSpeed test only take into consideration few basics tests and not the overall performance of

[jquery-dev] Re: http://www.saveie6.com/

2009-04-02 Thread Gilles
I meant signed petition lol, 637 now and the last one from you! The number of download would be hard as I don't think you can download it, did the download form process but apparantly I am unsuitable for IE6 lol On Apr 2, 11:34 am, DBJDBJ dbj...@gmail.com wrote: @Gilles , 392 vote already

[jquery-dev] Re: TaskSpeed Against DOM

2009-04-02 Thread Gilles
library       | ms DOM             *499* Dojo 1.3.0      2327 plugd-a (Dojo)  2455 Dojo 1.2.3      2922 jQuery 1.3.2    3170 MooTools 1.2.1  5876 jQuery 1.2.6    *7049* On Thu, Apr 2, 2009 at 10:49 AM, Gilles gil...@netxtra.net wrote: It would

[jquery-dev] Re: http://www.saveie6.com/

2009-04-01 Thread Gilles
lol nice, 392 vote already! On Apr 1, 7:43 pm, Ryura yoyobo...@gmail.com wrote: Show the quoted text at the bottom ;) On Apr 1, 2:15 pm, David Zhou da...@nodnod.net wrote: On Wed, Apr 1, 2009 at 2:08 PM, Ryura yoyobo...@gmail.com wrote: This is not great, its absolutely terrible. IE6

[jquery-dev] Re: STYLE element has a height...

2009-03-31 Thread Gilles
If the style are appended to the head it works just fine. Here I am not sure I get why the div is created nor why the span variable is declared (probably snippet of code and it is use somewhere else i assumed) body p id=testThis test should have border and padding!/p script

[jquery-dev] Re: Selection problems with multiple elements

2009-03-31 Thread Gilles
Bonjour! Stupid question, but you have made sure to wrap your code inside $ (function(){ /* your code */ }); yes? As otherwise JQuery might have trouble locating what you need if it isn't. Also could you provide the HTML source as rendered by the browser, it makes copy/pasting/testing easier :)

[jquery-dev] Re: Selection problems with multiple elements

2009-03-31 Thread Gilles
'); ~Daniel Friesen (Dantman, Nadir-Seen-Fire) Gilles wrote: Bonjour! Stupid question, but you have made sure to wrap your code inside $ (function(){ /* your code */ }); yes? As otherwise JQuery might have trouble locating what you need if it isn't. Also could you provide the HTML source

[jquery-dev] Re: Selection problems with multiple elements

2009-03-31 Thread Gilles
for event delegation type tasks) Using $(this+' .quantite') WILL NOT WORK when /this/ is a document node. You have to use $(this).find(' .quantite'); or $(this).children('.quantite'); should work to. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) Gilles wrote: Ah zut, I forgot the , and I

[jquery-dev] Re: Inserting content with each?

2009-03-30 Thread Gilles
Might want to try something like this instead: $(.gallery img).each(function() { $('#bild_spel div ul').append('liimg src= '+$(this).attr ('src')+' alt=/li'); }); haven't tested it but I believe it's correct :) On Mar 30, 11:48 am, smurkas marcus.dalg...@gmail.com wrote: Hello. I

[jquery-dev] Re: jquery 1.3.2 remove() kills events?

2009-03-30 Thread Gilles
I don't think this is a bug, if you go ahead and remove an element it is quite normal to assume that you would want the binding on that element to be removed as well in order to save ressources. In most cases a removed element is not going to come back, otherwise it's easier to just move it out

[jquery-dev] Re: Inserting content with each?

2009-03-30 Thread Gilles
be wrapped in li) var img = $(.gallery img); $(img).each(function() { $(#bild_spel div ul).append(this); }); You'll just need to wrap it in your li somewhere else On Mar 30, 12:17 pm, Gilles gil...@netxtra.net wrote: Might want to try something like this instead: $(.gallery img).each

[jquery-dev] Re: Need help with an IE issue (of course!)

2009-03-30 Thread Gilles
more functionalities. On Mar 30, 7:53 pm, John Campbell jcampbe...@gmail.com wrote: On Sun, Mar 29, 2009 at 7:12 AM, Gilles gil...@netxtra.net wrote: Also could you explain what  $.getScript(scripts[n++], arguments.callee);  actually does? I am not sure of what arguments.callee refers

[jquery-dev] Re: Need help with an IE issue (of course!)

2009-03-29 Thread Gilles
$.getScript(scripts[n++], arguments.callee); actually does? I am not sure of what arguments.callee refers to. Thanks for the help and feedback so far guys, it is really appreciated. Gilles. On Mar 29, 12:14 am, Ricardo ricardob...@gmail.com wrote: You could drop the evaling altogether: var

[jquery-dev] Re: Need help with an IE issue (of course!)

2009-03-27 Thread Gilles
) so it gets picked up as an error by the compiler (because of course you can't assign a variable to a string constant). Hope this helps you avoid future problems. Be well, Tony On Fri, Mar 27, 2009 at 3:09 PM, Gilles gil...@netxtra.net wrote: Thanks for pointing it out Karl, will go fix

[jquery-dev] Re: Need help with an IE issue (of course!)

2009-03-27 Thread Gilles
know why the code variable becomes blank tho. The only silly thing I think of is maybe the return of eval is ''. My only worry is that if I can make it not blank I'll just get the error again. Oh, and only tried on IE7 so far as well for the bug, not IE6 or IE8. On Mar 27, 5:18 pm, Gilles gil

[jquery-dev] Need help with an IE issue (of course!)

2009-03-26 Thread Gilles
Hi, I normally bebug my code myself, cos I believe it helps me improve myself, but here I just can't figure it out. basically I am writing a JQuery plugin, that JQuery plugin generate a bit of code that I then eval later. The code is a casacde of getScript with some initialization command being

[jquery-dev] Re: jQuery performance listners

2009-03-26 Thread Gilles
Not sure I see what you mean by JQuery allowing you to not have any even listener in your HTML document, you can do the same from pure javascript as well. After yes JQuery will be heavier on your page, depending on your project, if you use only 2 event listener going pure javascript would be

[jquery-dev] Re: replaceClass

2009-03-26 Thread Gilles
If all your class have the same prefix you could also use CSS3 selectors like class^=color-] So $('class^=color-]').each(function() { $(this).removeClass(this.className); }); Haven't tried it and I am tried, but that should remove all classes starting with color-foo, not sure if it is

[jquery-dev] Re: feature request: retrieving :hover css properties

2009-03-26 Thread Gilles
still, that's a heavy work around for something that i assumed would be stored in memory. If i understand correctly you parse through each css file, right? On Thu, Mar 26, 2009 at 2:19 PM, Gilles gil...@netxtra.net wrote: Try changing to JQuery.each() instead (or $.each, but I believe it's