[jQuery] jQuery build syste - ant task

2006-08-16 Thread Jörn Zaefferer
Olla! Could someone please commit the ant build created by Mike and Christian to the repository? Thanks. -- Jörn -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread zaadjis
don't forget the label, also 'css only' would do in this case. saw this here: http://www.chriserwin.com/scripts/crir/ __ Advertisement: Es iesu uz uz mobilo festivalu „re:loud”! 14 grupas, 2 skatuves, DJ telts, atrakcijas 1.septembri Mezaparka estrade www.reloud.lv

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread Dave Methvin
$(ullifoo/li/ul).find(li).click(...).end().appendTo(body); IE6 leaks a small amount of memory if you attach an event handler before tacking it onto the body: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/d nwebgen/ie_leak_patterns.asp Probably isn't worrisome unless

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread John Resig
this should work to? $(ullifoo/li/ul).appendTo(body).find(li).click(...); or does appendTo break the chain? That is correct, that would work equally as well (and better, since it doesn't leak) - since appendTo() does not break the chain. --John

Re: [jQuery] .contains() ?

2006-08-16 Thread Webunity | Gilles van den Hoven
John Resig wrote: The problem has more to do with the fact that you're doing two things wrong: 1) You're setting focus to a div element... which is unfocusable. 2) You're setting focus to the element before you ever finish the focus function of the previous element - creating an infinite

Re: [jQuery] Dom creation

2006-08-16 Thread Jason Yeckel
I think i am getting a tad closer i am trying to find out how i can make multi rows with a for loop then insert them in to the table or just put them in a var in the deleration of the table it self. I have been looking at this callender.js and i am a tad confused :( var days = []; for (var i=0;

[jQuery] First focusable element?

2006-08-16 Thread Webunity | Gilles van den Hoven
Is the following code, to find the first focusable element on the page, correct? Or am i missing something (e.g. other elements, ordering etc.)? oElem = $(document).find(a,frame,iframe,label,input,select,textarea,button).filter(:visible).filter(:enabled)[0]; With latest SVN off course --

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread John Resig
Does $(img) use DOM methods (i.e. document.createElement) or innerHTML for creating elements? It uses the same techniques as what's used in .append(), etc. Namely, creating a temporary div element, inserting the html in the innerHTML, then pulling the constructed DOM back out again. So any

[jQuery] jQuery vs Prototype

2006-08-16 Thread Menier, Todd
Hello, I'm new to this mailing list and have recently begun the process of evaluating jQuery. After looking at a wide variety of _javascript_/Ajax libraries, I've narrowed my choices down to jQuery and Prototype. Though I understand there's nothing stopping me from using both, there's

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Hi, Thanks for the great feedback! My comments below... bbuchs wrote: I would argue that less is more. One of the most fantastic things about jQuery and the syntax is that it's so damn light. What's the most common scenario for a date picker in a web app? Is it really neccessary to pick a

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Corey Jewett
You'd be surprised at how much functionality jQuery packs into such a small package. I used to use prototype, but I've switched to jQuery completely. Maybe the largest piece of functionality you'll give up is access to some of the other stuff that leverages prototype (e.g. scriptaculous).

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Now, if there were a way to make the start and end dates dependent on another date picker field, then you'd have support for from and to date fields, automatically enforcing the the to can't be after the from. That would be highly cool. :-) Along with the changes I just announced I also did

[jQuery] Help with the SVN Build Process

2006-08-16 Thread CBWhiz
Hello. I have been building via the build.cmd script (i'm on windows) for some time. However, recently you changed it to be 'unix like' building, with makefiles, and throwing in somethign about java to boot. Needless to say, I'm confused. Can you give a 'linux-build-enviornment' newbie a

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Another vote for markup generated via scripting rather than editing the page. That way, you will get more graceful degredation (for when JavaScript is disabled or the browser cannot handle the code). All done :) Although it degraded just as gracefully before it is now a little neater!

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Jonathan Sharp
I would agree with Corey. We've been using jquery in a large scale application. We evaluated jquery and prototype a while back but were forced to start prototyping ui's quickly and so we picked jquery and figured we'd re-evaluate when implementation began. We've never re-evaluated since there has

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Matt Stith
Im with Jonathan on this one. jQuery is the only library ive ever used, and its done everything ive ever needed.On 8/16/06, Jonathan Sharp [EMAIL PROTECTED] wrote:I would agree with Corey. We've been using jquery in a large scale application. We evaluated jquery and prototype a while back but

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height width support

2006-08-16 Thread John Resig
This is nice Dave, I like the test that you did to see if min-width works. One quick point: You should mention, explicitly, that you don't need to run $.minmax.expressions(), since it's already run on document ready. Other than that, looks great :-) --John Thanks for the reply. 1) So I did:

Re: [jQuery] date picker plugin update

2006-08-16 Thread Chris Domigan
I think the input.date-picker css style should be changed to div.date-picker-holder input, as your usage instructions don't say anything about having to give the input element a date-picker class name. Either that or get the plugin to set the input classname to date-picker automatically. As it

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread vaskaf
  http://jdsharp.us/code/jd_Menu/jd_Menu.html)Doesn't work in Safari 2.0.1___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Dom creation

2006-08-16 Thread Aloyzas Rimeika
I think i am getting a tad closer i am trying to find out how i can make multi rows with a for loop then insert them in to the table or just put them in a var in the deleration of the table it self. I have been looking at this callender.js and i am a tad confused :( var days = []; for (var

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height width support

2006-08-16 Thread Dave Cardwell
John Resig wrote: This is nice Dave, I like the test that you did to see if min-width works. One quick point: You should mention, explicitly, that you don't need to run $.minmax.expressions(), since it's already run on document ready. Other than that, looks great :-) Thanks for the feedback,

Re: [jQuery] Help with the SVN Build Process [u]

2006-08-16 Thread devsteff [c]
I've an ANT build for my development environment before and I added targets to checkout/update the latest version from the SVN. The available tag checks, if an SVN version exist (my eclispe project was initial empty), if not an initial checkout is done, otherwise the sources are updated. If

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread ashutosh bijoor
These are very important issues that you have addressed. Thanks for sharing the work. RegardsAshutoshOn 8/17/06, Taku Sano (Mikage Sawatari) [EMAIL PROTECTED] wrote:With Ajax facilities of jQuery, it is not easy to deal with errors. In addition, it is inconvenient to repeat reloading the same URL

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread Jason Yeckel
Good looking out i take it this all works with the ajax wrapper. Jason Y 3spn.net Taku Sano (Mikage Sawatari) wrote: With Ajax facilities of jQuery, it is not easy to deal with errors. In addition, it is inconvenient to repeat reloading the same URL to observe changes. Please confirm my patch

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread ashutosh bijoor
On a related issue to load, I was running into trouble with the embedded script execution that jquery does by default as follows: // Execute all the scripts inside of the newly-injected HTML $(script, self).each(function(){ eval( this.text || this.textContent || this.innerHTML || ); });I

[jQuery] Code Submission / Core Plugin: $().clone()

2006-08-16 Thread CBWhiz
Add this code to create a working clone function: $.fn.clone = function() { return this.pushStack( jQuery.map( this, function(i){ return i.cloneNode(true); }) , arguments ); }; Use it like so: $('#the_tr').clone().appendTo('#destination_table'); This code was based

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread Larry Garfield
On Wednesday 16 August 2006 23:30, John Resig wrote: It should behave that way in all of them, since that feature wasn't implemented, only inline Javascript worked. However, I just committed a fix that implemented that :-) Additionally, there is now a new function: $.getScript(foo.js);