Re: [jQuery] Why is Opera so slow (especially for thickbox) ?

2006-08-18 Thread Johan Sundström
My function creates only one interval for one animation and sets properties in loop avery frame: Nice. I wish more libraries would do this; I believe YUI suffers from the same problem, for instance. It is of course a bit difficult with animations that are not necessarily in sync, but I presume

[jQuery] ToggleClass and parents();

2006-08-18 Thread Andrew Buzzell
With a checkbox inside of a label, I was trying to toggle a class on the label based on whether the input was checked or not. I tried every permutation of: $(.checkbox).change(function(){ $(this).parent().toggleClass('selected'); }); label for=testinput id=test type=checkbox

Re: [jQuery] Extraneous whitespace in jquery-svn.js

2006-08-18 Thread John Resig
Purely cosmetic, but has anyone noticed that there is extra whitespace in the generated jquery-svn file (http://jquery.com/src/jquery-svn.js). Yeah - jquery-svn.js is currently being generated from jquery.lite.js (in SVN) - however I haven't yet pruned out the extra endline characters. This is

Re: [jQuery] Rebind events on dynamic content (modified DOM)

2006-08-18 Thread John Resig
Tom - the following should do the trick: $(#days).load( ajax/weekview_appointments.aspx?fromdate= + calendarDay.Date, BindTimeSelectors ); Calling BindTimeSelectors() was executing it too early, and there's no need for an extra wrapper function - since it is a function to begin with. Hope

Re: [jQuery] Any IE6 related input element changes recently?

2006-08-18 Thread John Resig
and be replaced by calls for updated documentation. :-) Already done :-) (Temporary URL) http://john.jquery.com/jquery/docs/ --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Any IE6 related input element changes recently?

2006-08-18 Thread Dave Methvin
That is a good reference. Is there a getting-started-style guide somewhere? Also, has anyone worked on how-do-I style FAQs or equivalent functions between standard DOM or other frameworks? If not I can work on some of that. It might be useful to have the built-in documentation specify categories

[jQuery] Live Grid feature requests

2006-08-18 Thread Menier, Todd
To makoomba: Saw your Live Grid and love it (http://makoomba.altervista.org/grid/). Any new features forthcoming? Specifically, I was comparing it to the Rico LiveGrid (http://openrico.org/rico/livegrid.page) and would love to have the following features: 1) Column sorting. I know this

Re: [jQuery] Possible Safari bug with :hidden property

2006-08-18 Thread John Resig
The problem is that Safari doesn't properly report the current style property values. This may be possible in the Safari Nightlies, but I haven't tested yet. This is a major fallback of Safari, unfortunately. --John On 8/18/06, Samuel Souder [EMAIL PROTECTED] wrote: I am running up against an

[jQuery] $(window).height() / .width()

2006-08-18 Thread Dave Cardwell
$(window).height() and .width() cause the error e.style has no properties. I think it would be preferable to modify .height and .width to handle window objects as a special case. A quick Google suggests using window.innerWidth, or where that is undefined document.body.offsetWidth. I just

Re: [jQuery] Possible Safari bug with :hidden property

2006-08-18 Thread Samuel Souder
Thanks for the quick followup John. I also run the WebKit nightlies and is is still broken as of today. Is there something I should be submitting to WebKit's bug reports? Lastly, do you know of any good ways around this? :hidden is a very cool selector and has a lot of great uses so I would

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-18 Thread Mitchell Lane
I've pinpointed both my issues, and would like to propose the following changes: In jquery/jquery.js, line 356, replace: $.g = { '': m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase(), with: $.g = { '': m[2] == '*' || a.localName.toUpperCase() == m[2].toUpperCase(), This would allow

Re: [jQuery] $(window).height() / .width()

2006-08-18 Thread John Resig
That would be really nice - I've been working with some developers who are going to implement some aspects of this - unless you'd like to beat them to it. Honestly, this will have to be a jQuery 1.1 feature. ;) Bugs are a top priority right now. --John On 8/18/06, Dave Cardwell [EMAIL

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-18 Thread John Resig
Is there a problem with .ready? Short answer: most likely not. However, your server seems to be down so I can't check it right away to make sure. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-18 Thread Brian Wilkins
It would help if I typed in the correct address! Sorry about that... http://www.aliasenterprises.com Try this one. Thanks, Brian John Resig wrote: Is there a problem with .ready? Short answer: most likely not. However, your server seems to be down so I can't check it right away to

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-18 Thread John Resig
Weeeird. Alright, well, whatever the bug was, it's been fixed in the latest SVN version of jQuery: http://jquery.com/src/jquery-svn.js Man, that's a weird one. --John On 8/18/06, Brian Wilkins [EMAIL PROTECTED] wrote: It would help if I typed in the correct address! Sorry about that...

Re: [jQuery] Possible Safari bug with :hidden property

2006-08-18 Thread John Resig
It's all because Safari doesn't support the getComputedStyle property: http://www.quirksmode.org/dom/w3c_css.html To make things even worse, they claimed that it was going to work in Safari 1.3+: http://weblogs.mozillazine.org/hyatt/archives/2005_04.html#007962 I hope hope hope that I'm wrong

[jQuery] Safari doesn't like show()

2006-08-18 Thread Duncan Anker
Hi list, After converting a drop-down menu script to jquery, our designer pointed out that the menu was no longer working under Safari. I have tracked this down to the use of show() which, while it works perfectly under Firefox and Opera, does not seem to do anything under Safari. It does

[jQuery] Addition of loadSuccess call back

2006-08-18 Thread Taku Sano (Mikage Sawatari)
The following problems can be solved by adding the loadSuccess call back. Problem: Plug-in cannot notice contents added with $().load(). For instance, Thickbox plug-in can be used only by adding class=thickbox to the link. However, it doesn't operate well for contents of $().load(). Solution: I

[jQuery] Using . in id attributes confuses jQuery

2006-08-18 Thread John Beppu
I was playing around with jQuery today, and I came across something unfortunate. I was in the habit of using the . character in id attributes. For example, if I had a page full of notes, the mark-up might look like: div class=note id=note.33rd note/div div class=note id=note.44th note/div

[jQuery] jQuery Boston

2006-08-18 Thread John Resig
Hey Everyone - Just wondering if there's any jQuery users here in Boston, MA - I'm going to be giving a presentation on jQuery on the 24th for the local Drupal group. I'm not sure if it'll be recorded and/or transcribed - but I'll be sure to throw any slides or examples online after its done.