[jQuery] FireFox and $( expr, context )

2007-02-11 Thread Daniel MacDonald
Ran this test page in FireFox 2.0.0.1: head titleTest/title script type=text/javascript src=jquery.js/script script type=text/javascript (function($) { $.fn.test = function(){ return this.each(function(){ var g = $('a', this);

[jQuery] tabs plugin with ajax support and callbacks

2007-02-11 Thread Daniel McBrearty
hi I've been using the tabs plugin for a while, I just updated to use the new ajax support. Works nice. Now I want to add a callback whenever a tab is updated: $(.tabs).tabs( { remote: true, loadingClass: 'progress', callback: function

Re: [jQuery] jQuery for President

2007-02-11 Thread Olaf Bosch
Karl Swedberg schrieb: But why would someone need to append a span to the label instead of just styling the label? And why would someone want to use a span and then make it display:block instead of just using a div ? Maybe I'm missing something? When the label float then is in NN7.0

Re: [jQuery] Miniscule (1k) Drag'n'Resize for jqModal via jqDnR

2007-02-11 Thread R. Rajesh Jeba Anbiah
On Feb 10, 3:02 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Well, i used to disable alert like this: function alert() {} Oh, thanks. But i guess you could tweak it to launch a modal window instead. I'll give it a try Just curious, was your try success? -- ?php echo 'Just

Re: [jQuery] JQuery IE7 and document.ready

2007-02-11 Thread Agrawal, Ritesh
Hi Matt and John The code I provided was just a demo to show how things are arranged. The actual code is free of error as I checked with firebug. It seems the trouble is with what Matt is sujesting that $(document).ready wont work with ajax load. I am not sure what might be the best solution.

Re: [jQuery] Miniscule (1k) Drag'n'Resize for jqModal via jqDnR

2007-02-11 Thread Alexandre Plennevaux
No, not at all !( This is what i tried: script type=text/javascript function alert() { $('#ex1a').jqm(); } $().ready(function() { alert(hello world); }); /script Just nothing happens. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R.

Re: [jQuery] Interface 1.2

2007-02-11 Thread Stefan Petre
Luke, can you explain a little bit more what are you want to do ? Stefan [-Stash-] wrote: Love Interface, but I noticed that one bug still isn't fixed in the ScrollTo plugin. Any news on when it might be fixed? More info: http://www.nabble.com/forum/ViewPost.jtp?post=8868839framed=y Luke

Re: [jQuery] JQuery IE7 and document.ready

2007-02-11 Thread Mike Alsup
I will try to narrate the actual scenario. I have a list of buttons on my home page. When a user clicks on one of the button, it loads a list (select option). Any selection made on the list loads another div (again using ajax) and I use jquery to load the second div. This all works as

Re: [jQuery] toggle(fn, fn) does not execute

2007-02-11 Thread Karl Swedberg
Hi there Δημήτρης, The two .toggle() methods are very different (and, therefore, often confusing to new users of jQuery): The first one toggles the show and hide effects: for example, .toggle('slow') The second one is a compound event handler that triggers 2 alternating functions: for

Re: [jQuery] jQuery for President

2007-02-11 Thread Jörn Zaefferer
Karl Swedberg schrieb: On Feb 10, 2007, at 7:42 PM, Glen Lipka wrote: *http://www.barackobama.com** (jQuery!)* /Although they are using 1.04. Hello? I was all on board until I saw they haven't upgraded. Wassup widdat? //Is the developer for this site on the list?/ Hmmm. Maybe the

Re: [jQuery] Help with a function

2007-02-11 Thread Vaska
Hmmm...I'm not sure how to get help around here? Most of my questions just go unanswered...wish there was a forum for all of this... But I did figure out what I needed to do...after a couple hours of reading...and alot of fiddling around. It was rather simple all in all...this is the

Re: [jQuery] jQuery for President

2007-02-11 Thread Karl Swedberg
Well, there you go! :) Looks like the developer did a copy/paste job -- unless Nick Rigby actually designed the Barack Obama site. Thanks for the link, Jörn. Helps to explain some of the JS- gymnastics. The comments are especially interesting. Cheers, --Karl _ Karl

Re: [jQuery] interface plugin autocomplete always starts with a full query

2007-02-11 Thread bdee
anyone??? bdee wrote: anyone?? why doesnt this work in IE - only seems to work in firefox? -- View this message in context: http://www.nabble.com/interface-plugin-autocomplete-always-starts-with-a-full-query-tf3202858.html#a8911751 Sent from the JQuery mailing list archive at

Re: [jQuery] jQuery for President

2007-02-11 Thread Jörn Zaefferer
Karl Swedberg schrieb: Well, there you go! :) Looks like the developer did a copy/paste job -- unless Nick Rigby actually designed the Barack Obama site. Thanks for the link, Jörn. Helps to explain some of the JS-gymnastics. The comments are especially interesting. Yep, indeed. I hope we

Re: [jQuery] Help with a function

2007-02-11 Thread Mike Alsup
all...this is the completed thing...certainly, if people want to crit what I've done here that could be educational... Hi Vaska, This is a very active mailing list so sometimes things get missed. Good job working out your code. Some quick comments: 1.) Inside a plugin 'this' is the jQuery

Re: [jQuery] Interface 1.2

2007-02-11 Thread [-Stash-]
I'm testing it at http://exhibitq.com/talk/discussion/1/html-test/#Comment_5 http://exhibitq.com/talk/discussion/1/html-test/#Comment_5 The internal anchor links on that page all worth as I would expect and scroll to each otehr very nicely (Top of Page, Bottom of Page and the a link to the

[jQuery] Mouse coordenates

2007-02-11 Thread Abel Tamayo
Ok, this is a noob question, but what is the fastest, cross-browser way to obtain the mouse coordenates? I've found tons of info about this in google, but it all seemed a little bit dated (with comments about Netscape 4 and the war of browsers all the time). Thanks.

[jQuery] Checking for a class?

2007-02-11 Thread Tom Holder
How can I check to see if there is a particular css class on an element? Presumably I could just do $(#id).attr(class); but I'm doing it in a loop where the class names have multiple classes on them and I only want to check for a specific one. Bith loathed to write a regexp for something so

Re: [jQuery] Checking for a class?

2007-02-11 Thread Mike Alsup
How can I check to see if there is a particular css class on an element? Hi Tom, You can use the is method for that. $(whatever).is('.myClass'); http://jquery.bassistance.de/api-browser/#isString ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Checking for a class?

2007-02-11 Thread Brandon Aaron
You can use the .is() method to check if an element has a particular class like this. $('#id').is('.someClass'); It will return true if it has that particular class and false if it doesn't. The .is() method can also be used to check other things as well. Here are the docs for the method.

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-11 Thread Matt Grimm
Mike, this is an extraordinary idea. I'm still working out exactly how I can implement it into my current projects, but this could very well change the way I use JavaScript in heavy AJAX environments. This allows me to use true AJAX (as opposed to AHAH) while still maintaining the flexibility of

Re: [jQuery] Miniscule (1k) Drag'n'Resize for jqModal via jqDnR

2007-02-11 Thread Brice Burgess
Alexandre Plennevaux wrote: script type=text/javascript function alert() { $('#ex1a').jqm(); } $().ready(function() { alert(hello world); }); /script That wouldn't work as it would never execute the trigger. If you set the autofire parameter, it *may* work ONCE; e.g. ---

Re: [jQuery] tabs plugin with ajax support and callbacks

2007-02-11 Thread Daniel McBrearty
thanks! that works now. On 2/11/07, Klaus Hartl [EMAIL PROTECTED] wrote: Daniel McBrearty schrieb: hi I've been using the tabs plugin for a while, I just updated to use the new ajax support. Works nice. Now I want to add a callback whenever a tab is updated: $(.tabs).tabs( {

Re: [jQuery] Mouse coordenates

2007-02-11 Thread Brice Burgess
Abel Tamayo wrote: Ok, this is a noob question, but what is the fastest, cross-browser way to obtain the mouse coordenates? I've found tons of info about this in google, but it all seemed a little bit dated (with comments about Netscape 4 and the war of browsers all the time). Thanks.

Re: [jQuery] Checking for a class?

2007-02-11 Thread Karl Swedberg
You could also use one of the attribute selectors to filter a set of matched elements. If you don't care where the particular value appears within the class attribute, you could do this: $('[EMAIL PROTECTED]') --Karl _ Karl Swedberg www.englishrules.com

Re: [jQuery] Checking for a class?

2007-02-11 Thread Christof Donat
Hi, You could also use one of the attribute selectors to filter a set of matched elements. If you don't care where the particular value appears within the class attribute, you could do this: $('[EMAIL PROTECTED]') Why not simply this $('#id.someClass') Christof

[jQuery] Sortables not working after adding item to container

2007-02-11 Thread Will
Hi, I'm trying to sketch out a menu builder and I'm using Interface's Sortables. Everything works fine until I add an LI to the UL. Well, everything continues to work fine except that the new menu item isn't draggable/sortable. I suppose it is sortable because you can drag existing ones below

Re: [jQuery] Sortables not working after adding item to container

2007-02-11 Thread Rick Faircloth
Seems to be working fine in IE 7. Not able to add a menu item, however. Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Sent: Sunday, February 11, 2007 3:43 PM To: jQuery Discussion. Subject: [jQuery] Sortables not working after adding item to container Hi, I'm

Re: [jQuery] Checking for a class?

2007-02-11 Thread Karl Swedberg
D'oh! Why not indeed! slap my forehead/ Thanks, Christof. :) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 11, 2007, at 3:22 PM, Christof Donat wrote: Hi, You could also use one of the attribute selectors to filter a set of matched elements. If

Re: [jQuery] jQuery Validation 1.0 Alpha

2007-02-11 Thread Aaron Heimlich
On 2/10/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: I think the better approach tells the user what it expects with one message. Telling the user what you expect and telling the user what they did wrong are two different things, IMO. Consider this example: $(#myform).validate({ rules: {

Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-02-11 Thread Dragan Krstic
May I add site of my own? www.zinba.com I'm using jquery all over the place. In backoffice (affiliate part) jquery do more stuff than VBscript. -- Dragan Krstić krdr http://krdr.ebloggy.com/ ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] jQuery Validation 1.0 Alpha

2007-02-11 Thread Aaron Heimlich
I should also add that I'm not trying to replace the current error message functionality, just add to it. On 2/11/07, Aaron Heimlich [EMAIL PROTECTED] wrote: On 2/10/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: I think the better approach tells the user what it expects with one message.

Re: [jQuery] Sortables not working after adding item to container

2007-02-11 Thread WG
Just a guess ... but you probably need to destroy and re-create the sortable so as to include the new li element. scriptaculous works like this as well. - wg - Original Message From: Will [EMAIL PROTECTED] To: jQuery Discussion. discuss@jquery.com Sent: Sunday, February 11, 2007

Re: [jQuery] Right Click Plugin / Function

2007-02-11 Thread Dan Atkinson
Feel free to jQuerify this: function click(e) { if (document.all) { if (event.button==2||event.button==3) { //IE //right click has been clicked //Return false will disabled return false; } } else {

Re: [jQuery] jQuery for President

2007-02-11 Thread Dan Atkinson
If his policies are like his web developers JavaScript, we'll be cheering in the democrats come next election! Karl Swedberg-2 wrote: On Feb 10, 2007, at 7:42 PM, Glen Lipka wrote: http://www.barackobama.com (jQuery!) Although they are using 1.04. Hello? I was all on board until I

Re: [jQuery] jQuery for President

2007-02-11 Thread Ⓙⓐⓚⓔ
Barack got hacked! it doesn't look like jquery was involved! http://feeds.feedburner.com/~r/Techcrunch/~3/89525493/ And who is the mystery programmer??? http://feeds.feedburner.com/~r/Techcrunch/~3/89520865/ On 2/11/07, Dan Atkinson [EMAIL PROTECTED] wrote: If his policies are like his web

Re: [jQuery] Sortables not working after adding item to container

2007-02-11 Thread Will
er, note to self: RTFM!Directly from the sortables documentation page: In a sortable can be added new item by simply inserting the new item via DOM and then using SortableAddItem. embarassing! :| Only problem I'm having now is when I create the item, I'm adding the ID dynamically by

Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-02-11 Thread Gerry Danen
I guess I could submit my non-commercial wink blog: http://blog.danen.org/ Gerry On 2/11/07, Dragan Krstic [EMAIL PROTECTED] wrote: May I add site of my own? www.zinba.com I'm using jquery all over the place. In backoffice (affiliate part) jquery do more stuff than VBscript.

Re: [jQuery] jQuery for President

2007-02-11 Thread Ⓙⓐⓚⓔ
:) it's been fixed! Has Blue State used jquery before? On 2/11/07, John Resig [EMAIL PROTECTED] wrote: LOL - that's way overly dramatic. They just show a random group name as an example - so some lame people picked a racist name for their group - then Techcrunch (being the sensationalist

Re: [jQuery] Want to know if sites are jQuery powered? Check this out!

2007-02-11 Thread Dr. Tarique Sani
On 2/9/07, Felix Geisendörfer [EMAIL PROTECTED] wrote: I'm not Paul, but having just looked at the greasemonkey script source I found that all it is doing is to load: http://paul.jquery.com/jquerydetector.js And some people may have a problem with greasemonkey loading a foreign script at each

Re: [jQuery] The jQuery Litebox

2007-02-11 Thread Dr. Tarique Sani
On 2/11/07, ProjectAtomic [EMAIL PROTECTED] wrote: New Features: Fully customizable, change colors, fonts, sizes, opacity, navigation labels. Keyboard navigation and click image to advance. Still degrades gracefully I would appreciate any feedback. Awesome - there is just one feature I

[jQuery] help - Interface Blind Toggle crashes Safari

2007-02-11 Thread rolfsf
I've got a fairly simple page - basically a container div with two divs - a leftPane and a rightPane. A third div serves as something to toggle the left pane open and closed using Interface's blindToggleHorizontally. For some reason, Safari crashes every time the leftPane is closed. Firefox, IE,