Re: [jQuery] jQuery.browser and Safari

2006-09-01 Thread Corey Jewett
On Aug 31, 2006, at 5:40 PM, Klaus Hartl wrote: This is an interesting read regarding user agent spoofing (see point 9): http://webstandardsgroup.org/features/david-storey.cfm Interesting. Open the Web sounds kinda Grease Monkey-ish. Corey ___

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-09-01 Thread Dylan Verheul
Stefan, there is no alert in this part of the code. You just hover, you don't pick a result. On 9/1/06, Stefan Petre [EMAIL PROTECTED] wrote: This happens because of that alert. If the alert is removed then everything is OK. I don't know if this is a FF problem or code bug. John Resig

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-09-01 Thread Stefan Petre
I know. But maybe this information helps. I got uncaught exception: Permission denied to get property HTMLDivElement.parentNode onclick and [Exception... 'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex] nsresult: 0x8057001e

Re: [jQuery] Bug: curCSS causes nullpointer in Safari

2006-09-01 Thread Klaus Hartl
John Resig schrieb: I found a bug in Safari in the curCSS function where it tries to access a property which is null in that case...: What property were you attempting to check with curCSS in Safari - the specific property is very important. Also, does the element have a display: of none?

[jQuery] Autocompleter documentation

2006-09-01 Thread Dylan Verheul
I should put this on the web somewhere, but for now I'll dump it on this list. This is the first draft of documentation for my Autocompleter. Use it to implement my plugin, or to pick up some ideas for your own autocompleter. Autocomplete - a jQuery plugin Usage: ==

Re: [jQuery] A quick question about querying

2006-09-01 Thread Klaus Hartl
[EMAIL PROTECTED] schrieb: Hey guys, just a quick question: is there a possibility to query all the elements having an specified attribute. E.g. I would like to get all the elements with title attr set, no matter if its abbr, acronym, a or any other tag. Regards, That should do the trick

Re: [jQuery] What about the rest of my javascript?

2006-09-01 Thread Krzysztof FF
John Resig wrote: Brandon - For example, Prototype has Object.extend(), jQuery has jQuery.extend() - they work nearly identically. --John On 8/31/06, Brandon Aaron [EMAIL PROTECTED] wrote: [1] http://dean.edwards.name/base/Base.js Brandon Aaron I hope that jQuery.create()

[jQuery] Bugs in 1 and 1.01

2006-09-01 Thread Andrew Buzzell
I didn't see a way to post this in trac, so if I ought to have, please advise. It seems that set (both name:value and hash) is not working, as well as removeclass on multiple classes (and, of course, toggleclass with multiple classes). ___ jQuery

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-09-01 Thread Sam Collett
On 31/08/06, Dylan Verheul [EMAIL PROTECTED] wrote: When I hover over the results of my autocompleter, Firebug reports an error:uncaught exception: Permission denied to get property HTMLDivElement.parentNodeI think it is actually a bug in Firefox:

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-09-01 Thread Dylan Verheul
Looks like it, thanks. On 9/1/06, Sam Collett [EMAIL PROTECTED] wrote: I think it is actually a bug in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=330961 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] What about the rest of my javascript?

2006-09-01 Thread Jörn Zaefferer
I hope that jQuery.create() (?) will be smarter than Prototype's Class.create and would allow for true inheritance with access to parent class functions. I've seen very smart and elegant solution for extending Prototype Class.create functionality while preserving true inheritance and allowing

Re: [jQuery] eval.call( window,jscode) does not work in IE

2006-09-01 Thread Dave Methvin
The solution suggested earlier for executing javascript code embedded in HTML returned by an ajax call by using eval.call(window,...) works great in FF, but not in IE6. How can we change the execution context of eval? Can you change the way the function is declared? script

Re: [jQuery] Simple form setup

2006-09-01 Thread Mungbeans
For some reason, I can't seem to include more than one expression within a function. For instance: function emailForm() { ..etc.. } $(document).ready(function() { // format the form $(document).click(emailForm); //activate validation $(#sendmail).click( function() {

Re: [jQuery] Recommended version

2006-09-01 Thread Klaus Hartl
Improved to take current position into account: jQuery.swap( e, old, function() { if (jQuery.css(e,display) != none) { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = $(e.cloneNode(true)).css({ visibility: hidden, position: absolute, display: block,

Re: [jQuery] eval.call( window,jscode) does not work in IE

2006-09-01 Thread Brandon Aaron
This topic actually showed up just recently on the prototype list. Some said that they use a setTimeout+eval to insure global scope but others said that prototype isn't actually doing it right for that work properly. Instead I believe they are just using the setTimeout to avoid an IE issue where

Re: [jQuery] Using xpath: can't find relative href

2006-09-01 Thread Dave Methvin
Apparently it's seeing all URLs in their fully-qualified form, not in the form they are in the source code. In all browsers, or just IE? That's a quirk of IE that it changes relative URLs to absolute. http://www.glennjones.net/Post/809/getAttributehrefbug.htm I thought there was a

Re: [jQuery] eval.call( window,jscode) does not work in IE

2006-09-01 Thread ashutosh bijoor
That's IT, Francisco!That does the trick.In jquery svn, we need to change the following lines:Line number 4910: eval.call( window, this.text || this.textContent || this.innerHTML || ); should be changed to {var src="" this.text || this.textContent || this.innerHTML || ;

[jQuery] Event Model Madness

2006-09-01 Thread Michael Haggerty
I am getting stuck with a tricky event sequence and am wondering if someone can help. And pardon me if I seem like a n00b, I am more a drupal guy than an AJAX person. The site I am working on is here: http://dev.trellon.org/phmf/node/242 Here's what I am trying to do. Off to the left, there is a

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread Francisco Brito
There's a better explanation at the jQuery home page, but in a nutshell:jQuery detects your previously defined $ function and executes some additional logic. The only difference is that $('hello') will now try it by tag name and then by id. The only truly ambiguous case is if you currently have an

[jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Jim Davis
I am trying to use blind down and blind up with a div that is hidden when the page loads. My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html The blind up and blind down functions were working great until I added the rule display: hidden to the addText div in order to have the div out

Re: [jQuery] Event Model Madness

2006-09-01 Thread John Resig
Well, one thing that can help is that the click events only need to be bound once: $(document).ready(function(){ $('a.thickbox').click(function(){ $('#mp3player').hide(); return false; }); $('#TB_closeAjaxWindow,#TB_closeWindowButton,#TB_ImageOff,#TB_overlay').click(function(){

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Stefan Nagtegaal
Op 1-sep-2006, om 18:05 heeft Jim Davis het volgende geschreven: I am trying to use blind down and blind up with a div that is hidden when the page loads. My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html The blind up and blind down functions were working great until I added

Re: [jQuery] AJAX .Load Stripping out a STYLE tag.

2006-09-01 Thread Hartman, Matthew
Krzysztof FF schrieb: This would encourage incorrect usage of HTML which is a bad thing in my eyes. Why don't you include a script element with a function, that adds some external style sheet to the head element? In the long run that would increase maintainability anyway in my eyes. And

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Klaus Hartl
Stefan Nagtegaal schrieb: Op 1-sep-2006, om 18:05 heeft Jim Davis het volgende geschreven: I am trying to use blind down and blind up with a div that is hidden when the page loads. My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html The blind up and blind down functions were

Re: [jQuery] Using xpath: can't find relative href

2006-09-01 Thread Klaus Hartl
Dave Methvin schrieb: Apparently it's seeing all URLs in their fully-qualified form, not in the form they are in the source code. In all browsers, or just IE? That's a quirk of IE that it changes relative URLs to absolute. http://www.glennjones.net/Post/809/getAttributehrefbug.htm

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-09-01 Thread Hartman, Matthew
Robert James Kaes: I don't actually know if this is the case, but the STYLE element is not allowed within a BODY element (per the W3C HTML spec.) Perhaps this is one place where IE is following the spec strictly? -- Robert I don't think this is the case due to IE supporting STYLE

[jQuery] Menu with SelectBox showing through

2006-09-01 Thread Lipka, Glen
I am using jQuery for a drop down menu. Currently, select boxes are showing through the menu. On the date picker plugin, he appends an iFrame behind the menu. Is this the best way or is there an easier way to achieve the desired effect? Thanks, Glen Lipka | Sr. UI Designer, WCG | Intuit Inc. |

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Stefan Nagtegaal
Inside my external stylesheet.. #id-is-hidden-by-default { display: none; } or you can also try: #id-is-hidden-by-default { visibility: hidden; } Steef Op 1-sep-2006, om 19:26 heeft Jim Davis het volgende geschreven: Stefan, Adding display: none; to the addText div dosen't work. I

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Karl Swedberg
On Sep 1, 2006, at 1:26 PM, Jim Davis wrote: Stefan, Adding display: none; to the addText div dosen't work. I also tried creating a class: .hideit { display: none; } and changed the html to: div id=addText class=hideit That dosen't work either. You could also try hiding the DIV with jQuery

Re: [jQuery] Menu with SelectBox showing through

2006-09-01 Thread Francisco Brito
A backing iframe is what I've used for a couple of years now. Keep in mind that this is only needed for IE7. Since this inevitably requires a browser sniff, I stick with !--[if IE lt 7] (conditional markup). Other options that I've seen include hiding the selects (ugly when only hiding the select

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread Geoff Knutzen
Does this work in the current 1.01 release? I cant seem to get it to function right. It did seem to be okay with the old release. I asked this same question a day or two ago and got no reply. I think it probably got lost in the confusion of the new release. It is really limiting my

Re: [jQuery] Menu with SelectBox showing through

2006-09-01 Thread Klaus Hartl
Lipka, Glen schrieb: I am using jQuery for a drop down menu. Currently, select boxes are showing through the menu. On the date picker plugin, he appends an iFrame behind the menu. Is this the best way or is there an easier way to achieve the desired effect? the only alternative I know is

Re: [jQuery] Menu with SelectBox showing through

2006-09-01 Thread Karl Swedberg
On Sep 1, 2006, at 2:42 PM, Klaus Hartl wrote: the only alternative I know is to hide the selectbox while the menu is open. but that solution is not as good as using an iframe, because maybe the menu doesn't cover the whole select and the user may also recognize, that the select

Re: [jQuery] Menu with SelectBox showing through

2006-09-01 Thread Klaus Hartl
Since this is only an issue in IE, I also did a little browser sniffing so that the selectboxes would only hide if using that browser -- admittedly an inelegant solution. For such things I recommend Conditional Compilation...: /[EMAIL PROTECTED] do something IE only @*/ It's the

[jQuery] Ant

2006-09-01 Thread Franck Marcia
Hi all, When I want to build jQuery with Ant, I've got this message: Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_03\lib\tools.jar Buildfile: build.xml Everything works well; it's just for cleanliness. Did anyone solve this? Franck.

Re: [jQuery] Menu with SelectBox showing through

2006-09-01 Thread Lipka, Glen
It's the safest way to sniff IE... What about if ($.browser.msie) { //only for IE } Glen ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Submit a form?

2006-09-01 Thread Lewis, David
Using jQuery, is there an easy way to find a form in an HTML document, submit it, then return false (to avoid resubmission of the form). Using the HTML snippet: form id=report-form action="" method=post input type=text name=chart_value value=Test chart value / input id=report-submit

Re: [jQuery] Submit a form?

2006-09-01 Thread Myles Angell
$(#report-form).get(0).submit();Return false isn't neccessaryOn 9/1/06, Lewis, David [EMAIL PROTECTED] wrote: Using jQuery, is there an easy way to find a form in an HTML document, submit it, then return "false" (to avoid resubmission of the form). Using the HTML snippet: form

[jQuery] unsubscribe?

2006-09-01 Thread Konstantin Lang
how to unsubscribe from this mailing list? ^^ sorry, but i cant find a button or an mailadress ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] unsubscribe?

2006-09-01 Thread Myles Angell
This is the URL for it:http://jquery.com/mailman/listinfo/discuss_jquery.com On 9/1/06, Konstantin Lang [EMAIL PROTECTED] wrote: how to unsubscribe from this mailing list? ^^ sorry, but i cant find abutton or an mailadress___jQuery mailing

Re: [jQuery] Ant

2006-09-01 Thread Franck Marcia
OK guys, For the record: you need to use Java SDK, not JRE. Franck 2006/9/1, Franck Marcia [EMAIL PROTECTED]: Hi all, When I want to build jQuery with Ant, I've got this message: Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_03\lib\tools.jar Buildfile:

[jQuery] Looking for a jQuery developer/designer

2006-09-01 Thread Dave Methvin
I'm in need of someone to do some freelance work to work on a jQuery-based project. In particular, I need someone who can add a slick look to the interface--color choices, slides, fades, that kind of thing. Send me an email if you are interested, dave.methvin at gmail.com.

Re: [jQuery] Jquery Ajax $post to a new window

2006-09-01 Thread Francisco Brito
I'm sorry, I was writing pseudo-code. I just don't remember right now the syntax, but for example, if you had:$.post(url, formData);now you'd have:var newWindow = window.open(...);newWindow.$.post(url, formData); BritoOn 9/1/06, Gholias [EMAIL PROTECTED] wrote: win.post(myformData);This is from

Re: [jQuery] Jquery Ajax $post to a new window

2006-09-01 Thread Jonathan Howard
Couldn't you just do the post and grab the resulting XML and drop it as the content of a new window? pseudo-code: $.post(data, url, function(xml){ //open window //window contents set to xml }); On 9/1/06, Francisco Brito [EMAIL PROTECTED] wrote: I'm sorry, I was writing pseudo-code. I just

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread John Beppu
I wanted to try to use Prototype and jQuery together, also, but it didn't work out too well for me.The main show stopper was that a lot of Prototype-based code will assume that the result of $() will be a DOM element. With jQuery's $(), you will usually get a jQuery object back (so you can do all

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread Geoff Knutzen
But *I think* the old version handled this different if you included prototype.js on your page before you included jquery.js See http://jquery.com/docs/PrototypeAndJQuery/ (I am not totally sure on this, I only used jquery for a day or so before I realized that 1.0 had been released)

Re: [jQuery] Interface: Question about Blind Up/Down

2006-09-01 Thread Jim Davis
Karl, Thanks for the help. Your suggestion solved the problem. Jim On 9/1/06, Karl Swedberg [EMAIL PROTECTED] wrote: You could also try hiding the DIV with jQuery when the DOM initially loads: $(document).ready(function() { $('div.hideit').hide(); }); This would have the added

Re: [jQuery] Jquery Ajax $post to a new window

2006-09-01 Thread Gholias
Ill try the 2 solution and send the result to the list Jonathan Howard escreveu: Couldn't you just do the post and grab the resulting XML and drop it as the content of a new window? pseudo-code: $.post(data, url, function(xml){ //open window //window contents set to xml

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread John Resig
Prototype Support Plugin I think this means that this is a know issue, and will be dealt with someday, but again, I am unsure. I do hope that it will be dealt with, as this would save ME a whole bunch of recoding in the next few days. Am I way off base here? Wouldn't be the first time.

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread Geoff Knutzen
John, That is really good news. This will save me a TON of work over the next bit. Thank you for getting this out. We all are very grateful for all that you have done and are doing. Again, thanks -Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Autocomplete plugin: update for jQuery 1.01

2006-09-01 Thread Geoff Knutzen
Hi Dylan, Thanks for making your autocomplete plugin for jquery. This is my first adventure with jquery. So far I really like it. I do have a question for you about your plugin. What is the purpose of e.preventDefault(); in the keydown function? The reason I ask is because I

Re: [jQuery] jCarousel

2006-09-01 Thread Matt Stith
Wow, great job!On 9/1/06, jsorgalla [EMAIL PROTECTED] wrote: Hi there,i'm the next one staying in the line of jQuery plugin authors.I've created a new plugin called jCarousel. Its inspired by Bill Scott'sCarousel Component for YUI.Check it out at http://sorgalla.com/pages/jcarousel.html and let

Re: [jQuery] jCarousel

2006-09-01 Thread Justin Carter
On 9/1/06, jsorgalla [EMAIL PROTECTED] wrote: Hi there, i'm the next one staying in the line of jQuery plugin authors. I've created a new plugin called jCarousel. Its inspired by Bill Scott's Carousel Component for YUI. Check it out at http://sorgalla.com/pages/jcarousel.html and let me

Re: [jQuery] jCarousel

2006-09-01 Thread John Resig
Wow - I totally dig this. I'm probably going to end up using it in some projects of mine. I like the attention to details like 'wrap' and ajaxStart/Stop. Great job :) --John i'm the next one staying in the line of jQuery plugin authors. I've created a new plugin called jCarousel. Its inspired