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
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
@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
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
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
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
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
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
@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
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
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
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
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
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
if there is any interest.
Thanks,
Paul McLanahan
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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
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.
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
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
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
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');
});
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
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
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 --
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
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
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))?
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
);
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
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
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,
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
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
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
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
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
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:;.
);
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
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
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
^=
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
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
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!
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
jQuery - Putting the DOM in its place.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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
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.
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
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
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
63 matches
Mail list logo