[jQuery] New jQuery Build System

2006-08-13 Thread John Resig
Hi Everyone, I just wanted to let everyone know that I've finished the new build system for jQuery - it's really fantastic. All documentation, test cases, and packages are built dynamically straight from the original source. The best way to check this all out is to check it out from SVN: svn co s

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread Jörn Zaefferer
Hi Michael, > E.g when you have a very short Ajax request, showing an image for a > second or so is more annoying then really helping the user. as it is hard to tell how long a request will take: How about delaying the display of the image for the 'annoying' amout of time? Something like this (

Re: [jQuery] elements order

2006-08-13 Thread Larry Garfield
On Sunday 13 August 2006 11:20, Dimitar Spassov wrote: > Tanks! > > Look at test page: http://dimitarspassov.googlepages.com/jqpagecontent Looks spiffy in Firefox, but I'm afraid it doesn't work at all in Konqueror. :-) Just FYI. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED]

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread Michael Fuerst
John Resig schrieb: > I agree with Mike - especially considering that its impossible to know > that an AJAX operation will take less than 1 second to complete - > preemptively stopping a spinner from firing may cause more problems > than it's work. > Yep, you're right. Never thought about setti

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread John Resig
> Could you give a little more in detail example? One that actually work? > I'm trying to get some AJAX-funkyness (incl. the throbber/spinner) to The above should work, as expected, in jQuery 1.0a+, which can be found here: http://jquery.com/src/jquery-1.0a.js --John

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread Stefan Nagtegaal
Op 13-aug-2006, om 19:05 heeft John Resig het volgende geschreven: > I agree with Mike - especially considering that its impossible to know > that an AJAX operation will take less than 1 second to complete - > preemptively stopping a spinner from firing may cause more problems > than it's work. >

Re: [jQuery] Javascript HTML WYSIWYG editor

2006-08-13 Thread Dylan Verheul
Use TinyMCE, I have no problem getting it to work. It doesn't interfere with jQuery. On 8/13/06, Remko <[EMAIL PROTECTED]> wrote: > > I am looking for Javascript HTML WYSIWYG editor JQUERY style? > Not a fancy one but a very basic one. Anyone create such a plugin? > -- > View this message in conte

[jQuery] Trailing spaces with add/removeClass

2006-08-13 Thread Konstantin Käfer
Hi,I just found a weird bug in some browsers, like for example, Safari: http://dump.kkaefer.com/jquery-testcase/02-class-safari.html If the class name of an element contains trailing (or leading) spaces, removeClass() doesn't work correctly. I experienced this also with dynamically added/removed cl

Re: [jQuery] elements order

2006-08-13 Thread John Resig
> Look at test page: > http://dimitarspassov.googlepages.com/jqpagecontent Very nice :-) It reminds me of what PPK does on Quirksmode, having the mini TOC up in the corner: http://www.quirksmode.org/ --John ___ jQuery mailing list discuss@jquery.com h

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread John Resig
I agree with Mike - especially considering that its impossible to know that an AJAX operation will take less than 1 second to complete - preemptively stopping a spinner from firing may cause more problems than it's work. With that said, here is how I would do it: var doSpinner = true; $(document

Re: [jQuery] ajaxStart and ajaxStop

2006-08-13 Thread Michael Geary
> $().ajaxStart( function ) and $().ajaxStop() are great to > show/hide a global Ajax activity image/message. But sometimes > it would be nice to temporarily inactivate this functions. > E.g when you have a very short Ajax request, showing an image > for a second or so is more annoying then real

[jQuery] ajaxStart and ajaxStop

2006-08-13 Thread Michael Fuerst
Hi, $().ajaxStart( function ) and $().ajaxStop() are great to show/hide a global Ajax activity image/message. But sometimes it would be nice to temporarily inactivate this functions. E.g when you have a very short Ajax request, showing an image for a second or so is more annoying then really helpi

Re: [jQuery] AJAX + IE

2006-08-13 Thread fragglefeet
For some unknown reason the problem has just vanished! :) Seems fine after some extensive testing. Thanks Tom John Resig wrote: > >> Did you find the answer to this? I'm getting exactly the same with a >> clean >> installation of IE 6. > > Do you think you could provide us with a test page to

Re: [jQuery] elements order

2006-08-13 Thread Dimitar Spassov
Tanks!Look at test page: http://dimitarspassov.googlepages.com/jqpagecontent ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] AJAX + IE

2006-08-13 Thread John Resig
> Did you find the answer to this? I'm getting exactly the same with a clean > installation of IE 6. Do you think you could provide us with a test page to look at? That way we can help to confirm the bug on our own installations. --John ___ jQuery mail

Re: [jQuery] Bug?

2006-08-13 Thread John Resig
> Can anyone help me with this? IE really hates dealing with Tables and innerHTML (which is what .load() uses). An alternative may look something like this (untested): $.get('ajaxClassObjects.act?type=5&id=9',function(html){ $("#objects").empty().append( html ); }); It's worth a shot - let m

Re: [jQuery] elements order

2006-08-13 Thread John Resig
> $('h1,h2,h3,h4').each(function(i){ > out += i + ': ' + this.nodeName + "\n"; > }); The problem is that the CSS selector: "h1,h2,h3,h4" means "find all h1 elements, then find all h2 elements, etc.". In that sense, hN elements are particularly troublesome. Since I don't know the actual struct

Re: [jQuery] Set focus on a text field (newbie question)

2006-08-13 Thread Konstantin Käfer
$('[EMAIL PROTECTED]"text"]')[0].focus();2006/8/13, ivan quintero <[EMAIL PROTECTED]>: Sorry for the newbie question, but I want to get rid of my old _javascript_ that I used to set field focus on the first form field, but haven't been able to do it in jquery. How do I do it?-- Ivan Quintero

Re: [jQuery] Javascript HTML WYSIWYG editor

2006-08-13 Thread Dan Atkinson
Sounds cool! I'm sure there's one out there, but, what the hell... I'll start one some code right now. Even if I don't get there first, I'm going to start working on one right this moment, just to see how it'll look. Right now, I envisage tag highlighting at the very least. Remko wrote: > >

[jQuery] Set focus on a text field (newbie question)

2006-08-13 Thread ivan quintero
Sorry for the newbie question, but I want to get rid of my old _javascript_ that I used to set field focus on the first form field, but haven't been able to do it in jquery. How do I do it?-- Ivan Quintero ___ jQuery mailing list discuss@jquery.com h

[jQuery] Javascript HTML WYSIWYG editor

2006-08-13 Thread Remko
I am looking for Javascript HTML WYSIWYG editor JQUERY style? Not a fancy one but a very basic one. Anyone create such a plugin? -- View this message in context: http://www.nabble.com/Javascript-HTML-WYSIWYG-editor-tf2099160.html#a5785306 Sent from the JQuery forum at Nabble.com. _

Re: [jQuery] jquery, prototype and $.fn()

2006-08-13 Thread Oliver Specht
John Resig schrieb: >>Does anyone know some more? :) > > > Try including Prototype before you include jQuery - otherwise > Prototype might overwrite jQuery and cause the problem that you're > seeing. > > --John Works great, thx! Greetings, Oliver >

[jQuery] elements order

2006-08-13 Thread Dimitar Spassov
Hi!I have the folowing HTML code:

heading 1h1>

heading 1.2 a h2>< h3>heading 1.2.3 a h3>

heading 1.2.3 b h3>

heading 1.2 b h2>

heading 1.2.3 c h3>

heading 1.2.3 d h3>< h3>heading 1.2.3 e h3>

heading 2 b h2>when apply this JQ:var out = '';$('h1,h2,h3,h4').each(function(i){   


[jQuery] Bug?

2006-08-13 Thread Jan Van den Bergh
Hi,I'm using JQuery to dynamically load a table when the user clicks a button. The code is this:       Id     Name          return false;"  >Load objects         When the link is clicked, the table body content is replaced by the contents of ajaxClassObjects.act?type=5&id=9.

Re: [jQuery] jquery, prototype and $.fn()

2006-08-13 Thread John Resig
> Does anyone know some more? :) Try including Prototype before you include jQuery - otherwise Prototype might overwrite jQuery and cause the problem that you're seeing. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] jquery, prototype and $.fn()

2006-08-13 Thread Oliver Specht
Hi, I'm using jquery (Build: Fri May 12 13:01:23 2006) and prototype (1.5.0_rc0) and extended the jquery part by the $.fn.editable function (http://www.dyve.net/jquery/?editable). There seems to be some collision between the two scripts, because I get this error when just loading the site: $("td #

Re: [jQuery] AJAX + IE

2006-08-13 Thread fragglefeet
Did you find the answer to this? I'm getting exactly the same with a clean installation of IE 6. Thanks Tom Hochwender, Jason wrote: > > I am not sure why I typed my code out instead of copying. > > In any event, this is driving me crazy. Is it possible that something > about my local configu

[jQuery] elements order

2006-08-13 Thread Dimitar Spassov
Hi!I have the folowing HTML code:

heading 1h1>

heading 1.2 a h2>< h3>heading 1.2.3 a h3>

heading 1.2.3 b h3>

heading 1.2 b h2>

heading 1.2.3 c h3>

heading 1.2.3 d h3>< h3>heading 1.2.3 e h3>

heading 2 b h2>when apply this JQ:var out = '';$('h1,h2,h3,h4').each(function(i){