Re: [jQuery] Capture tab focus in dialog window

2006-11-03 Thread Jörn Zaefferer
You can fix this very easily without doing all wierd stuffies like changing tab index. $(document).focus(function(oEvent) { return ((oElement = oEvent.srcElement || oEvent.target) jQuery(oElement).ancestors(*YOURPARENTHERE*).length); }); With latest

Re: [jQuery] Capture tab focus in dialog window

2006-11-03 Thread Klaus Hartl
Jörn Zaefferer schrieb: You can fix this very easily without doing all wierd stuffies like changing tab index. $(document).focus(function(oEvent) { return ((oElement = oEvent.srcElement || oEvent.target) jQuery(oElement).ancestors(*YOURPARENTHERE*).length);

Re: [jQuery] reaplying rules to returned data

2006-11-03 Thread Марат
So, than just take a look waht happens if i comment the line $(.menu li).unbind('click'); from example See waht happens: http://127-creative.ru/tmp/jquery/site-jq.html02.11.06 , Yehuda Katz [EMAIL PROTECTED] написал(а): You don't need to unbind event handlers before reapplying them. jQuery tests

Re: [jQuery] IE Stylesheet API

2006-11-03 Thread Dan Atkinson
Ahh... Where would we be without quirksmode?! That's a great resource for DOM. Brandon Aaron wrote: This is as close as I got: http://www.nabble.com/Style-sheet-modification-snippet-tf2484859.html#a6928891 I use quirksmode as my main reference:

[jQuery] Thickbox + hidden content + IE

2006-11-03 Thread Alexander Graef
Hi guys, I'm having some trouble with a hidden div showing under IE 7. In FF, when the thickbox link is clicked the hidden div is displayed fine. However, in IE it remains hidden. Anyone encountered the same problem and might have solved it ? Thanks Alexander

Re: [jQuery] IE Stylesheet API

2006-11-03 Thread kenton.simpson
http://msdn.microsoft.com/workshop/author/css/css_node_entry.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/ie7_css_compat.asp -- View this message in context: http://www.nabble.com/IE-Stylesheet-API-tf2563740.html#a7157806 Sent from the JQuery

Re: [jQuery] jQuery 1.0.3 compressed - file header missing

2006-11-03 Thread Choan C. Gálvez
On 11/3/06, Brent Pedersen [EMAIL PROTECTED] wrote: $().jquery gives the version. That's right, but it used to return the revision number. While having access to the version number is useful for everybody, I think having access to the revision number would be useful for some of us. At least,

Re: [jQuery] jQuery window plugin (teaser)

2006-11-03 Thread Christopher Jordan
This is VERY exciting! I make extensive use of submodal windows in my current web apps. I'm really glad to see that the author is porting it over to jQuery! Count me as third in line!! :o) Rey Bango wrote: You'll be #2 behind me! Rey... Blair McKenzie wrote: If the

Re: [jQuery] Capture tab focus in dialog window

2006-11-03 Thread Karl Swedberg
Hi Klaus, Not sure if this is exactly what you're after, but I think Gilles was working on something like this back in Sept. Don't know what the status of it is, but here is an email that you can reference to see if a follow-up is in order:

[jQuery] New way of animating

2006-11-03 Thread Paul Bakaus
Hey guys,has someone seen this at ajaxian? Check it out: http://berniecode.com/writing/animator.htmlThis is probably the most sexiest animate lib I've ever seen in my life. Porting this to jQuery would be the PERFECT addition to jQuery's css parsing possiblities. What do you think?-- Paul

Re: [jQuery] jQuery 1.0.3 compressed - file header missing

2006-11-03 Thread Laurent Yaish
What's wrong with having the file header in the packed version???/** jQuery 1.0.3 - New Wave _javascript_** Copyright (c) 2006 John Resig (jquery.com)* Dual licensed under the MIT ( MIT-LICENSE.txt)* and GPL (GPL-LICENSE.txt) licenses.** $Date: 2006-10-27 11:15:44 -0400 (Fri, 27 Oct 2006) $* $Rev:

Re: [jQuery] New way of animating

2006-11-03 Thread Andy Matthews
That's marvelous! Reminds me of a tween.as library that someone wrote for Flash. !//--andy matthewsweb developercertified advanced coldfusion programmerICGLink, Inc.[EMAIL PROTECTED]615.370.1530 x737--//- -Original Message-From: [EMAIL

Re: [jQuery] jQuery 1.0.3 compressed - file header missing

2006-11-03 Thread Glen Lipka
I agree. Especially with a large group of people all working in CVS (and overwriting each other's files with merges etc). It's nice to be able to just look at the file and see immediately through the browser. I often don't have access to the source. It's also good advertising/communication for

Re: [jQuery] New way of animating

2006-11-03 Thread John Resig
has someone seen this at ajaxian? Check it out: http://berniecode.com/writing/animator.html This is probably the most sexiest animate lib I've ever seen in my life. Porting this to jQuery would be the PERFECT addition to jQuery's css parsing possiblities. What do you think? I'm not

[jQuery] checking for cookie

2006-11-03 Thread bmsterling
Is there a way to check for cookies are enabled with jquery. and is there a cookie pugin? thanks -- View this message in context: http://www.nabble.com/checking-for-cookie-tf2570266.html#a7164717 Sent from the JQuery mailing list archive at Nabble.com.

[jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Rey Bango
Hi Everyone, Just a reminder that today is the last day to post your submissions for the JQuery Button Contest. Your entries need to be in before midnight PST so don't delay! http://jquery.com/blog/2006/10/26/jquery-button-contest-many-prizes Rey...

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Paul Caton
Instead of a logo (s web 1.0 ;-) , how about recommending that any page using jQuery should have the jQuery video embedded: http://www.youtube.com/watch?v=LhDCXXvK0QE Paul Caton. Rey Bango wrote: Hi Everyone, Just a reminder that today is the last day to post your submissions for

Re: [jQuery] Animated style change (margin change)

2006-11-03 Thread Bradford R. Bowman
On Fri, Nov 03, 2006 at 11:38:43AM -0600, Brandon Aaron wrote: This is untested and off the top of my head but should point you in the right direction ... You should be able to call $().animate with a hash of properties (styles) to change. $().animate({ marginLeft: 20 }, 500); I played

Re: [jQuery] checking for cookie

2006-11-03 Thread Karl Swedberg
Here is the Cookie plugin, written by Klaus Hartl: http://jquery.com/dev/svn/trunk/plugins/cookie/cookie.js?format=txt Karl ___ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 3, 2006, at 1:14 PM, bmsterling wrote: Is there a way to check for cookies are

Re: [jQuery] checking for cookie

2006-11-03 Thread Klaus Hartl
bmsterling schrieb: Is there a way to check for cookies are enabled with jquery. and is there a cookie pugin? thanks Yes there is a plugin: http://jquery.com/dev/svn/trunk/plugins/cookie/cookie.js?format=txt Does not check if cookies are enabled. You could use: navigator.cookieEnabled

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Rey Bango
Baby steps Paul. Baby steps. :o) We're ramping up promotion of JQuery on several different fronts. The button contest is just the first step. I love your idea though! Rey... Paul Caton wrote: Instead of a logo (s web 1.0 ;-) , how about recommending that any page using jQuery should

Re: [jQuery] jQuery Metadata Plugin

2006-11-03 Thread Paul McLanahan
Meta Plugin possible bug: The meta plugin appears to assume that the old $().get function will always return a jQuery object because it calls apply to the cached function _get and calls each on the returned object. This doesn't seem to be the case if get is called via the methods described in

[jQuery] Problem with Events

2006-11-03 Thread Muckinger
I want to use events with jquery and tried the example: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head script type=text/javascript src=/js/jquery.js/script script type=text/javascript // ![CDATA[ $(p).click( function() { alert(Hello); }

Re: [jQuery] Problem with Events

2006-11-03 Thread Brandon Aaron
Did you get any JS errors? -- Brandon Aaron On 11/3/06, Muckinger [EMAIL PROTECTED] wrote: I want to use events with jquery and tried the example: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head script type=text/javascript src=/js/jquery.js/script

Re: [jQuery] Problem with Events

2006-11-03 Thread Chris W. Parker
On Friday, November 03, 2006 9:50 AM Muckinger said: I want to use events with jquery and tried the example: [snip] script type=text/javascript // ![CDATA[ $(p).click( function() { alert(Hello); } ); // ]] /script [snip] But nothing happens, also with the other

Re: [jQuery] Problem with Events

2006-11-03 Thread Paul McLanahan
You're very close. The problem is that you're searching for p tags before they exist. You can do one of two things: either move the script to after the p tag in the markup (unreliable and old-and-busted), or wrap what you have in $(function(){}); which is a shortcut for

Re: [jQuery] checking for cookie

2006-11-03 Thread bmsterling
thanks for the responses, I will def try them both out. -- View this message in context: http://www.nabble.com/checking-for-cookie-tf2570266.html#a7166539 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list

Re: [jQuery] checking for cookie

2006-11-03 Thread Klaus Hartl
bmsterling schrieb: thanks for the responses, I will def try them both out. ha, they're both the same, don't try too much ;-) thanks karl... -- klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Return types in documentation

2006-11-03 Thread Klaus Hartl
Hi, I think the documentation is in some parts erroneous. For functions like $.get, $.ajax etc. there's said they return a jQuery object. That should be undefined, that is what functions without a return statement return. -- Klaus ___ jQuery

[jQuery] metadata, application/json script extended

2006-11-03 Thread Ⓙⓐⓚⓔ
I made good use of the metadata talk, I selected the script option of embedding parameters. But I wasn't really ready to start adding script tags before each a href that I wanted to script... so I went up the ancestor tree and look for the previous script tags, then one gets extended into the

Re: [jQuery] Problem with Events

2006-11-03 Thread Karl Swedberg
And just so you're not totally confused, these two snippets are functionally the same. The first is just a short-hand version of the second: from Paul McLanahan: $(function(){ $('p').click( function() { alert(Hello); } ); }); from Chris W. Parker: $(document).ready(function() {

Re: [jQuery] Problem with Events

2006-11-03 Thread Karl Swedberg
On Nov 3, 2006, at 2:55 PM, Paul McLanahan wrote: $(function(){}); which is a shortcut for $(document).ready(function(){}); Oops! Sorry, Paul. Now I see that you already explained the the one is a shortcut for the other. That's what I get for skimming instead of reading carefully. Oh

Re: [jQuery] Return types in documentation

2006-11-03 Thread jyl
Or it might be a bug in the code, it seems to me that these functions *should* return the jQuery object theyre operating on. --Jacob Hi, I think the documentation is in some parts erroneous. For functions like $.get, $.ajax etc. there's said they return a jQuery object. That should be

[jQuery] [Fwd: jquery bug 164]

2006-11-03 Thread Stephen Woodbridge
Clem, As far as I know this is still an open issue. I am hoping the one of the developers that has some expertise in IE will take pity on us and try to fix this bug sooner rather than later ;). This was not a problem pre 1.0.0, but I'm sure a lot of code has change since then which has

Re: [jQuery] [Fwd: jquery bug 164]

2006-11-03 Thread Dave Methvin
I'd would like to know if possible what is the status on the bug 164 in jquery. As far as I know this is still an open issue. I am hoping the one of the developers that has some expertise in IE will take pity on us and try to fix this bug sooner rather than later ;). If it's being ignored

Re: [jQuery] [Fwd: jquery bug 164]

2006-11-03 Thread Brandon Aaron
On 11/3/06, Dave Methvin [EMAIL PROTECTED] wrote: Was the problem the .getAttribute(..., 2) in .attr()? That was probably put in as a patch to the situation where IE fiddles with href attributes unless you call it like .getAttribute('href', 2). Maybe you could just take out the second

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Dragan Krstic
It's so jquery! But it will slow down pages and that will be bad ad for jq - Original Message - From: Paul Caton [EMAIL PROTECTED] To: jQuery Discussion. discuss@jquery.com Sent: Friday, November 03, 2006 7:29 PM Subject: Re: [jQuery] Last Day for Submission for the JQuery Button Contest

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Ⓙⓐⓚⓔ
perhaps we need a standard link behind the button (other than the obvious jquery.com), some total fluff page with a big link jquery.com home On 11/3/06, Dragan Krstic [EMAIL PROTECTED] wrote: It's so jquery! But it will slow down pages and that will be bad ad for jq - Original Message

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Paul McLanahan
On 11/3/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: perhaps we need a standard link behind the button (other than the obvious jquery.com), some total fluff page with a big link jquery.com home That has contributers names orbiting it like at worldfirefoxday.com.

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Gavin M. Roy
I'd not do that. While it's neat, it did kill my browser and not perform all that well. We don't want to give a bad impression to people on non-high-end machines. On Nov 3, 2006, at 3:24 PM, Paul McLanahan wrote: On 11/3/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: perhaps we need a standard link

[jQuery] xml in Browser after ajax

2006-11-03 Thread Olaf Bosch
How I can let the grabbeing xml in browser explain? With the .html give me *[object XMLDocument]* The Function are: $.ajax({ type: GET, url: url.xml, dataType: xml, success: function(msg){ $(#content).html(msg); } }); -- Viele Grüße, Olaf

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
Success's parameter on an xml ajax call is not a string. it's a fully parsed out representation of the xml. Normally people call the parameter 'xml' not 'msg'. You deal with it differently... if you get pieces of the xml with standard jquery notation (plus you pass the xml, as in:

Re: [jQuery] Last Day for Submission for the JQuery Button Contest

2006-11-03 Thread Rey Bango
A recommended landing page is certainly a good idea. I'll run it by John. Ret Ⓙⓐⓚⓔ wrote: perhaps we need a standard link behind the button (other than the obvious jquery.com), some total fluff page with a big link jquery.com home On 11/3/06, Dragan Krstic [EMAIL PROTECTED] wrote: It's so

[jQuery] Star Rating Plugin?

2006-11-03 Thread Rey Bango
Has a star rating plugin like this: http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/ been developed? Rey... ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
yeah... but what's the point? debugging? some folks (not me) use html without trying to deal with it as xml, and just use some regexs and other methods to insert directly into the current dom (page) the beauty of the full ajax deal is to take what you need from the xml and slip it just where you

Re: [jQuery] [Fwd: jquery bug 164]

2006-11-03 Thread Stephen Woodbridge
Dave Methvin wrote: I'd would like to know if possible what is the status on the bug 164 in jquery. As far as I know this is still an open issue. I am hoping the one of the developers that has some expertise in IE will take pity on us and try to fix this bug sooner rather than later ;).

Re: [jQuery] $(form.elements) fails in Safari

2006-11-03 Thread Pascal
hey gang-- i'm seeing a new, related problem that thought i should bring to your attention. this occurs in rev. 522 and 524. I'm calling $(form.elements).customPluginThatIWrote(). as a test, before this statement, i alert(form.elements.length), getting a value of 16 (the # of elements in

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
OK here's the point: suppose I want to return in one ajax call several values to be displayed in different dom elements. I'd return an XML value with for-el1.../for-el1for-el2.../for-el2 and so on. Then I'll use $(for-el1, xml) and so on to get each piece and stick it into the corresponding

Re: [jQuery] How to auto save a form (basket)

2006-11-03 Thread Brice Burgess
Enquest wrote: I have the following problem, I'm not sure what is the best method to this. I got a basket. I save my items of the basket in a PHP $_SESSION ... You can enter some value's in the basket. I want these value's to be auto saved on change... For this I need to submit the value

Re: [jQuery] $(form.elements) fails in Safari

2006-11-03 Thread Brandon Aaron
On 11/3/06, Pascal [EMAIL PROTECTED] wrote: hey gang-- i'm seeing a new, related problem that thought i should bring to your attention. this occurs in rev. 522 and 524. I'm calling $(form.elements).customPluginThatIWrote(). as a test, before this statement, i alert(form.elements.length),

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Stephen Woodbridge
I barely know this stuff, but would something like this work: $(#el1).html($(for-el1, xml).text()); $(#el2).html($(for-el2, xml).text()); $(#el3).html($(for-el3, xml).text()); or if you have a lot of elements, then making an array of them and looping through the list might be cleaner. It

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
I'd say the code would be like $(#for-el1,xml).appendTo(#el1); On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: OK here's the point: suppose I want to return in one ajax call several values to be displayed in different dom elements. I'd return an XML value with

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
That works for text, not HTML, right? Because the HTML would get parsed out. Consider a return value of for-el1tabletr.../tr/table/for-el1 Etc. --Jacob I barely know this stuff, but would something like this work: $(#el1).html($(for-el1, xml).text()); $(#el2).html($(for-el2, xml).text());

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
Thats' 99% of the solution, I hope. But... appendTo replaces or adds? I want to *remove* the old contents. --Jacob I'd say the code would be like $(#for-el1,xml).appendTo(#el1); On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: OK here's the point: suppose I want to return in one ajax

Re: [jQuery] Star Rating Plugin?

2006-11-03 Thread Ⓙⓐⓚⓔ
something like: $(a.starRating).each(function(){ var $this = $(this); var href = this.href; var stars = $this.text();

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
switch it around using append do an empty before it! On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thats' 99% of the solution, I hope. But... appendTo replaces or adds? I want to *remove* the old contents. --Jacob I'd say the code would be like $(#for-el1,xml).appendTo(#el1);

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
Like this: $('#el1').empty().append($(#for-el1, xml)); I guess. If thats it then wow I'm really impressed by the expressive power of jQuery :) --Jacob switch it around using append do an empty before it! On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thats' 99% of the solution, I

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
jquery rocks! and http://visualjquery.com is my main reference! your quotes are a bit off... but mine are too sometimes! On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Like this: $('#el1').empty().append($(#for-el1, xml)); I guess. If thats it then wow I'm really impressed by the

Re: [jQuery] Sneak Peek and Hover question

2006-11-03 Thread Glen Lipka
This worked perfectly by the way. Thank you so much! :) Glen On 10/27/06, abba bryant [EMAIL PROTECTED] wrote: Just a quick note. When you hit the quick links button I get an annoyinghorizontal shift in FF. You can fix with the following css rulehtml { height:100%; margin-bottom:1px; }It will

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
Yep, I forgot a close- :) Actually it sounds like I want to use xJS, http://www.malsup.com/jquery/jxs/ dunno if everyone knows about it here, its a plugin that parses XML and sends the DOM elements to their right destination. --Jacob jquery rocks! and http://visualjquery.com is my main

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
Dang I should just go to sleep, I'm off my quotes myself :) The correct URL is http://www.brainknot.com/code/jxs.htm Took me a while to figger out what he was on about. --Jacob jquery rocks! and http://visualjquery.com is my main reference! your quotes are a bit off... but mine are too

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
from first glance, xsj looks like a pretty specially formattted xml. a little xslish. a good solution if you want the xml to have the rules instead of just data. On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yep, I forgot a close- :) Actually it sounds like I want to use xJS,

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread jyl
No, its a full page modification language. Pretty much all the effects and dom methods of jQuery are supported. Its great if you want to let the server drive whats shown on the page, like xajax (http://www.xajaxproject.org/) except explicitly. In fact I know now how to make xajax work with jquery,

Re: [jQuery] xml in Browser after ajax

2006-11-03 Thread Ⓙⓐⓚⓔ
that's what I meant... 1 file for the js html 1 for the xml xjs script and 1 for the xml data. the xjs does the rules instead of doing it directly in jq. sure looks like a lot of code to choose from! keep us all posted! On 11/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, its a full