Re: [jQuery] dimensions.js

2006-10-13 Thread Paul McLanahan
I have the same question. Anyone?On 10/10/06, Franck Marcia [EMAIL PROTECTED] wrote: Hi,What's the status of dimensions.js?I mean, in SVN, it's located where it should be built-in but the build process doesn't take it into account.On the other hand, if it's a plugin, it should reside in the

[jQuery] SVN and firewall issues

2006-10-18 Thread Paul McLanahan
Hi,I'd love to be able to work with the latest jQuery code. However, in the infinite wisdom of the network admins at work, they don't allow access to external svn: urls. With the old jQuery svn web interface I could download a zipped up file containing the most recent revision, but I can't find

Re: [jQuery] SVN and firewall issues

2006-10-18 Thread Paul McLanahan
@SamYup.. I'm in that boat as well. HTTP svn attempts fail complaining about PROPFIND. The only svn access I've ever gotten to work is HTTPS. I can get to projects hosted on Google Code like that, but unless a project has a cert and allows HTTPS access to the repo, I'm out of luck. I'm going to

Re: [jQuery] Submitting a form after input type=file onchange

2006-10-18 Thread Paul McLanahan
You're nearly there. You've just got a slight problem in your understanding of what the $().submit(func) function does. What you're doing is adding an onsubmit handler to the form whenever the contents of the file input element is changed. But, that function won't fire until the form is actually

Re: [jQuery] Submitting a form after input type=file onchange

2006-10-18 Thread Paul McLanahan
It did work. I tried it before submitting the suggestion. The jQuery submit() function works in 2 ways. If a function is passed it will set that function to the onsubmit handler, and if no arguments are passed, it will call the submit action on the elements. Your way will work as well due to the

[jQuery] Plugin method question

2006-10-30 Thread Paul McLanahan
Hi jQuerians,I'm a web developer with an internet banking provider. I've been preaching the joys of jQuery to them and they're sold. We have lots of people who maintain the sites we host who aren't the most we'll say... skilled when it comes to _javascript_. So, a good deal of my job is to

Re: [jQuery] Plugin method question

2006-10-30 Thread Paul McLanahan
The main reason I'm trying to avoid non-spec attributes is for code longevity. We maintain around 1500 sites, many of which are getting old. So we've been bitten by past bad coding practices more than most. Our policy because of this is to do all new sites completely up to XHTML 1.0 Transitional

Re: [jQuery] Plugin method question

2006-10-31 Thread Paul McLanahan
I have been looking at the Form Validation plugin created by Jörn Zaefferer (which is excellent btw) and the way he used a special class syntax to indicate validation rules for various form elements. He use some specific stuff like class=$v(required,max:15) to indicate that the field is required

Re: [jQuery] Plugin method question

2006-10-31 Thread Paul McLanahan
@Klaus and DaveI do like that. Adding an even further layer of abstraction to the mix would be even cleaner for the non-technical to implement. We could have 3 or 4 sets of useful defaults which could be chosen via the second class, or even by an underscore separated single class name where

Re: [jQuery] Plugin method question

2006-11-01 Thread Paul McLanahan
How cool... it sure does! I just tested the following code in IE7, FF 1.5.0.7 and Safari 1.3.2, and all I got was an alert box with the word Whatnot. script type=text/x-jquery-jsonalert(Was run as JS.)/script script type=text/x-jquery-json{accordion:false,stuff:Whatnot}/scriptdl

Re: [jQuery] Blurry Text using JQuery... But only in IE

2006-11-01 Thread Paul McLanahan
I had this IE bug crop up on a recent project. You have to set the background color of the element to which you are applying the fade. This is very unfortunate for me as I have the fade happening over a repeating background which is in a containing element. So I have no fix that will work save

Re: [jQuery] Find selectedIndex of selectoption

2006-11-01 Thread Paul McLanahan
I think what you're looking for is something like this:$(#box select).each(function(){ //this is now a select element to do with //what you will alert(this.selectedIndex); //or to get the currently selected value alert($(this).val()); });I don't know of a better way than that.Hope this

Re: [jQuery] Another simplification for Thickbox

2006-11-01 Thread Paul McLanahan
I ran into a Thickbox problem where the overlay would not grow taller than the content. Perhaps I had an older version, or something about the jQuery library changed between when the version I have was written and version 1.0.3. I solved it by writing a small function that takes advantage of the

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

2006-11-01 Thread Paul McLanahan
Have you tried using...$(input,select,textarea,theForm).each(someFunction);That's a more jQuery way of doing that in my opinion. That should also allow jQuery to handle more of the cross-browser issues than passing it a node list (or whatever the form.elements object is).On 10/31/06, Pascal

Re: [jQuery] jQuery Metadata Plugin

2006-11-03 Thread Paul McLanahan
if there is any interest. Thanks, Paul McLanahan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

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] 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] jQuery Metadata Plugin

2006-11-05 Thread Paul McLanahan
Hi All, I'm still unsure about my diagnosis and fix of the problem I was seeing with John's metadata plugin. His idea of modifying a core jQuery function to allow for automated metadata extraction was pure genius in my mind. It was also very instructive for me as a person trying to gain more

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Paul McLanahan
Excellent work Jörn (yet again), The only suggestion I have deals with displaying the tips close to the right side of the screen. You do an excellent job of handling the width of the tip when it is close to the right edge of the window, but if a word is too long inside of the tip it will push

Re: [jQuery] Writing documentation, jQuery style?

2006-11-06 Thread Paul McLanahan
Do you mean more readable than the jQuery API docs (jquery.com/api/) ? I find that to be quite nice actually. If you mean that's what you want, then all the handy tools you need are available in the SVN repository. When you perform an ant docs or make docs at the command line inside the

Re: [jQuery] Accordion Requirements

2006-11-07 Thread Paul McLanahan
One of the requirement I had for an accordion implementation was that it toggle an image in the title tag when it's content was shown or hidden. So I put this into the function for showing an item. jQuery('img',thisDT).each(function(){ this.src = this.src.replace(/_hide/,'_show'); });

Re: [jQuery] Accordion Requirements

2006-11-07 Thread Paul McLanahan
Also... I had to modify my original implementation which was for a dl to also work with the following structure: ul class=accordion li a href=#Title/a ul lia href=#Content/a/li /ul /li /ul This is a similar structure to the ones proposed in that the

Re: [jQuery] Accordion Requirements

2006-11-08 Thread Paul McLanahan
On 11/8/06, Wil Stuckey [EMAIL PROTECTED] wrote: I think it would be the best practice to use a CSS class to show these different states. This would keep presentation out of the markup. That would be an easy way to do it as well. In either case though, my point is that adding something to the

[jQuery] Ajax malformed response problems

2006-11-08 Thread Paul McLanahan
Hi All, I'm forced to submit a form via Ajax to an OLD (real old) cgi. It returns some CRAP for a response. For example: meta http-equiv=Pragma Content=no-cache meta http-equiv=Expires Content=Tuesday, 14-Dec-1971 04:30:00 GMT html head /head body bgcolor=white !-- normal HTML body stuff --

Re: [jQuery] Ajax malformed response problems

2006-11-08 Thread Paul McLanahan
It also does this in IE6 WinXP/sp2. One other caveat is that the cgi also attempts to set cookies in the response header. I don't know if that makes a difference... but there it is. On 11/8/06, Paul McLanahan [EMAIL PROTECTED] wrote: I can't make it stop spitting out the meta tags before

Re: [jQuery] Ajax malformed response problems

2006-11-08 Thread Paul McLanahan
On 11/8/06, Dave Methvin [EMAIL PROTECTED] wrote: Better than that, it's probably exploitable. (insert evil grin) Be sure to report it using Windows Error Reporting, if you can. Good point. Would it be possible for you to launder the response through a proxy? For example, have a small

Re: [jQuery] jQuery SVN over HTTPS

2006-11-09 Thread Paul McLanahan
Second!! On 11/9/06, Sam Collett [EMAIL PROTECTED] wrote: SVN access over HTTPS would be useful. Are there any plans for it being implemented (the port used by SVN is blocked here and the required header methods for HTTP access aren't allowed either (and probably never will be))?

Re: [jQuery] Form Validation (no Ajax)

2006-11-14 Thread Paul McLanahan
On 11/14/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Nice to see you got it working. The callback is a feature of the next release.Excellent! Thanks Jörn. I implemented almost exactly the same work around as Bruce when I needed a call back. But I'm wondering for your rewrite are you going to go

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-14 Thread Paul McLanahan
I'm personally not sure that the entire ajax.js should be part of the core. jQuery to me is about DOM searching and manipulation. Its Ajax features are excellent, but I wouldn't cry at all if I had to include the ajax plugin or official extension or whatever you'd like to call it, only when I

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-14 Thread Paul McLanahan
On 11/14/06, John Resig [EMAIL PROTECTED] wrote: That being said - Ajax functionality is used a lot. If it were extracted, I'd want to have a special jquery+ajax build to go along with it. I think that would be an excellent compromise. It's actually what I have pre-built for myself. I have 1

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-14 Thread Paul McLanahan
I agree that it should be as simple as possible for the end user, if only for our sanity because of the potential for increased support requests. I think the most simple and easy solution is to prominently display the (recommended) download, and have 4 other options for people who know exactly

Re: [jQuery] $.val() limited in functionality?

2006-11-14 Thread Paul McLanahan
I would definitely like to see val() work on any form element. I frankly didn't know that it doesn't. It only makes sense that it would since there would be no point in implementing the function if it only replaces $('input')[0].value. I believe the true power of most of jQuery is the fact that

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Paul McLanahan
On 11/16/06, Andy Matthews [EMAIL PROTECTED] wrote: TinyMCE doesn't have built-in image upload. That's true. But they do have 2 official plugins that handle managing images and any other files. They're called MCFileManager and MCImageManager respectively, and they're right on the home page.

Re: [jQuery] API docs draft 2

2006-11-16 Thread Paul McLanahan
On 11/16/06, Stephen Woodbridge [EMAIL PROTECTED] wrote: Thanks for putting a lot of work into this. It really looks good! Ditto!! It looks and works great (at least in my main browser: FF 1.5.0.8 Win). ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] getScript error

2006-11-17 Thread Paul McLanahan
Found and patched the problem in ajax.js where $.getScript and $.getJSON don't do anything if a callback isn't supplied. The problem is that httpData function isn't called from $.ajax unless there is a callback supplied. Someone please commit if it's deemed a good fix. The only other fix is to

Re: [jQuery] getScript error

2006-11-17 Thread Paul McLanahan
load in. You can also keep using the first method above and just define the variable in the global scope earlier in the script file like so: myFunc = myOtherFunc = {}; function myFunc(){} etc... This was tested against SVN jQuery and IE7. On 11/17/06, Paul McLanahan [EMAIL PROTECTED] wrote

Re: [jQuery] getScript error

2006-11-22 Thread Paul McLanahan
that eval as an inherited function from Object will go away sooner than font, but that doesn't mean that it won't break code for a whole lot of users now. On 11/22/06, Klaus Hartl [EMAIL PROTECTED] wrote: Paul McLanahan schrieb: In most modern browsers (IE Excluded of course), the built in eval

Re: [jQuery] getScript error

2006-11-22 Thread Paul McLanahan
I completely agree, Klaus. I'm not suggesting we rely on that feature. I'm suggesting that we use another name for a global eval function in jQuery so that we don't interfere with the feature while it's still around. I would definitely not use it in the global eval function that we're tweaking

Re: [jQuery] getScript error

2006-11-22 Thread Paul McLanahan
Ok... I was able to confirm that, at least for the version of Safari I have (1.3.2 on OSX.3.9), the eval.call(window,data) attempt at global scope eval does not work. I got some strange Object (result of expression testFunction) does not allow calls error, where testFunction was the function I

Re: [jQuery] getScript error

2006-11-22 Thread Paul McLanahan
in there for Safari since I believe that global availability will be the feature most often used and the 10ms problem will be encountered very rarely. I completely agree with Jörn that it should be documented in the code of the function. On 11/22/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Paul McLanahan schrieb

Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Paul McLanahan
I have one vote against CF. I do know that it is both easy and powerful, and I certainly don't knock it for that. But it's yet another closed-source platform. I'm no open-source zealot, however the prospect of moving several sites from CF to another solution because Adobe kills it or is bought

Re: [jQuery] getScript error

2006-11-22 Thread Paul McLanahan
); I have a fresh post about this: http://nullisnull.blogspot.com/2006/11/executing-scripts-with-xmlhttprequest.html I'm curious to see if it works with Safari. -- Brito On 11/22/06, Paul McLanahan [EMAIL PROTECTED] wrote: I just checked eval.call(window,data) on Safari 2.0.4 and it did

Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Paul McLanahan
I know you're right Dave. But, if I'm going to use a scripting language to write an app, I want one that is either a) fun and easy to write and read, or b) built for the web. For me, those two are Ruby and PHP respectively. I know many very successful web apps have been written in perl, and

Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Paul McLanahan
Even if Adobe completely kills Coldfusion (which they won't because they're already making BIG plans for the next version (coming out sometime next year). Anyway, even if they do kill CF, there'll be Coldfusion jobs for YEARS to come due to all of the existing websites that use it. Besides,

Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Paul McLanahan
On 11/22/06, Blair McKenzie [EMAIL PROTECTED] wrote: I have to admit that I would like better support for classic code (on top of the standard tag based syntax). Luckily there seems to be a very good chance that ActionScript will get folded into ColdFusion at some point, and that's very

Re: [jQuery] Global ajaxError event

2006-11-22 Thread Paul McLanahan
I think the general use for attaching the global event handlers to a DOM element is so that you can attach it directly to the element on your page where you want your error or success messages to go, and could therefore use $(this).html(message about stuff); inside you're handler. If you don't

Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Paul McLanahan
On 11/22/06, Rey Bango [EMAIL PROTECTED] wrote: So hopefully from my explanation, you can see that it boils down to personal preference instead of actual deficiencies in the product or even lack of future support for CFML. Hi Rey, I certainly agree that it's personal preference. No serious

Re: [jQuery] Happy Thanksgiving

2006-11-23 Thread Paul McLanahan
Here here Yehuda! You said it perfectly. Thanks everyone, and have a great weekend! Paul On 11/23/06, Yehuda Katz [EMAIL PROTECTED] wrote: In the spirit of thanksgiving, I want to say that I'm thankful for John and the rest of the gang for creating and tweaking jQuery. It's quite literally

Re: [jQuery] Reading comments from the dom.

2006-11-27 Thread Paul McLanahan
Could be a cool addition to the metadata plugin. It's more semantic in my opinion to have the meta data in a script tag if you don't wan it directly attached to a dom element, but it would be cool nonetheless. On 11/27/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Although we rarely want to pay any

Re: [jQuery] Change href of external links

2006-11-28 Thread Paul McLanahan
Actually, you have to check for href attribs that start with http but then make sure that they're not http://yourdomain.com; because IE will translate relative links into absolute ones in the returned string from aTagRef.href. I'd also make sure that they don't start with javascript: and mailto:;.

Re: [jQuery] Change href of external links

2006-11-28 Thread Paul McLanahan
); return false; }); } }); That way you can set up whatever strings you want to allow to be excluded in the allowedDomains array thus ensuring that the links you find really are external to your site's domain(s). On 11/28/06, Paul McLanahan [EMAIL PROTECTED

Re: [jQuery] OT: mail delivery

2006-11-28 Thread Paul McLanahan
I use gmail as well, but I've gotten some out of order before. I think the server has some off days from time to time. On 11/28/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I use gmail, and have never gotten mail out of order. the reason you get them out of order is the nature of the SMTP network. I bet

Re: [jQuery] Using .addClass() to add dynamic class not for CSS

2006-12-01 Thread Paul McLanahan
I don't know if this is the problem or not, but I do notice a type-o in your script: You have: $([EMAIL PROTECTED]).addClass(microid-' . $hash . ') Should be: $([EMAIL PROTECTED]'node']).addClass(microid-' . $hash . ') Notice the quotes around node. I also switched your match from *= to ^=

Re: [jQuery] iFxTransfer problem with IE

2006-12-01 Thread Paul McLanahan
Hi Nerique, Is el a jQuery object or just a DOM node? Do you have an example page where we could see the error? On 11/30/06, nerique [EMAIL PROTECTED] wrote: Hi, nodoby can help ? i m really annoyed and am not able to find a solution. If nobody wants to help me, could you please tell me

Re: [jQuery] Using .addClass() to add dynamic class not for CSS

2006-12-01 Thread Paul McLanahan
it up Tane On 12/1/06, Paul McLanahan [EMAIL PROTECTED] wrote: I don't know if this is the problem or not, but I do notice a type-o in your script: You have: $([EMAIL PROTECTED]).addClass(microid-' . $hash . ') Should be: $([EMAIL PROTECTED]'node']).addClass(microid-' . $hash

Re: [jQuery] IE7 native xmlhttp breaks load() ?

2006-12-01 Thread Paul McLanahan
You can also just pass your callback function as your 2nd parameter and the load function will realize that this is the case and use it as your callback. $(#ajax_episodebox).load(url, function() { // This line Paul On 12/1/06, Doug Tabacco [EMAIL PROTECTED] wrote: Worked like a charm. Thanks!

Re: [jQuery] New Plugin: Ajax Popup Menu (still under development)

2006-12-06 Thread Paul McLanahan
I see a demo of jQuery where you create an iPod navigation clone with this. Excellent work. On 12/6/06, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Thanks for your reply. I thought a bit about it. Even if it is Ajax and Web2.0ish, it can be very useful to relift the usability of certain

Re: [jQuery] Efforts to Convert Folks to jQuery

2006-12-07 Thread Paul McLanahan
jQuery - Putting the DOM in its place. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] current jQuery version

2006-12-07 Thread Paul McLanahan
I have a script running at home that does that. It updates a local copy via svn, then runs 'ant all' to build all of the stuff. It then builds a tar.gz from that and makes it available on my web server at home. I then have another cron job on a machine at work that uses wget to download the

Re: [jQuery] jQuery Methods, a new plugin?

2006-12-18 Thread Paul McLanahan
This is pretty cool stuff. Not widely available yet, but it's in FF2.0. http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7#Iterators On 12/17/06, John Beppu [EMAIL PROTECTED] wrote: I hope future versions of Javascript give us better ways to iterate. for-in is what's really broken.

[jQuery] Some Useful Minor Plugins

2007-01-23 Thread Paul McLanahan
I don't think these are worth making into full blown plugins, but I do think they're useful. Feel free to use these and credit me if you wan :) I wrote them as utility plugins for a promo rotator I was working on. I was fading and showing list items in the order they appeared in the jQuery

Re: [jQuery] util plugins, was: What tools ...

2007-01-24 Thread Paul McLanahan
It would be nice to be able to contribute to a folder like that. I have several little plugins that I use as helpers on larger projects that I'm sure others would find useful as well. Is there a way to easily allow people to only commit SVN to a single folder like util, or would it be better

Re: [jQuery] Make IE re-number an OL after adding elements?

2007-02-06 Thread Paul McLanahan
I can't reproduce the problem. I've tried a similar script in IE6 and IE7 and they both behave nicely when using append() and prepend() on an OL element. Could you post a link to a page with your full example on it, or post more code? Also, I tested with jQuery version 1.1.1, are you using an