Feel free to include what's on http://www.dyve.net/jquery
(autocomplete, autohelp, googlemaps, editable).
On 9/27/06, Yehuda Katz [EMAIL PROTECTED] wrote:
Dojo released a new widget today: a spreadsheet widget. and it ocurred to me
that while we don't quite have anything like that yet, there
Said famous CMS has support for doing precisely that, and in fact uses such
support for its own module development. John hinted before that he was
looking to go in that direction, which I think would be terrific for all
involved.
On Wednesday 27 September 2006 01:24, Paul Bakaus wrote:
Hi
On Wed, 27 Sep 2006, Paul Bakaus wrote:
as you may know, the jQuery website is going to be updated soon,
supported by a famous cms. Maybe it would be good to build in a plugins
platform into the page, where every developer can add his plugin, like
for example Firefox Plugins, mozdev. etc.
Na. I don't smoke.
Do you mean articles that link to other articles, or chainables in terms of
code, cause I'm not sure the latter is relevent.
sunsean wrote:
One word, chainables. ~Sean
___
jQuery mailing list
discuss@jquery.com
Ok.
So how is this relevant to spreading jQuery?
I hope I'm the only one who's confused. :s
Jake-21 wrote:
chainable the ability to chain function calls, as in
$('#'+parm.id).slideDown(slow,function(){$('#'+parm.id).overflow(auto)});
or
var numb =
Hello guys!
I just finished my new plugin and would like to receive some feedback! I
wrote a new plugin which can transform an image into a button.
Features include:
* Toggle button or a default button
* You can provide a function or string as the action to take when the
button is clicked. In
Ah right.
Yes. I see now. Unfortunately, as Klaus said, jQuery no longer has this edge
as other developers have cottoned on to this.
Klaus Hartl wrote:
Dan Atkinson schrieb:
Ok.
So how is this relevant to spreading jQuery?
I hope I'm the only one who's confused. :s
It was a
Hi,great idea! I did something like this a coupl of weeks before for a touchscreen project, but I couldn't use jQuery (what a pity). This plugin looks like I wanted it to be :)2006/9/27, Webunity | Gilles van den Hoven
[EMAIL PROTECTED]:Hello guys!I just finished my new plugin and would like to
Simple http://www.softwareunity.com/sandbox/JQueryMoreSelectors/ selectors
plugin to add more specific query :selectors to JQuery.
Adds things like:
- $(FORM/*:modified) - To find form elements that have been changed or
selected by the user.
- $(FORM/*:focus) - To find the element that has
Hi all,
there was one thing that always bothered me (and others on my blog) for
the tabs plugin: That they weren't truly bookmarkable (only the one to
start with).
If I remove the return false from the click handler the URL is changed
and you get a nice bookmark. Downside is, that the page
Simple http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
selectors
plugin to add more specific query :selectors to JQuery.
Actually :input, :text etc. are already in SVN. But :input doesn't select
button elements, I need to add that.
:focus and :modified are great additions, good
On Sep 27, 2006, at 7:59 AM, Klaus Hartl wrote:
in IE I think
I simply do not get the right value for the scroll coordinates yet.
Maybe someone can give me a hint...
I've been playing around with this for some enhancements to the jTip
plugin and have successfully used this code that I
They're in the svn? Great. I'll take them out of my plugin in that case.
J?rn Zaefferer wrote:
Simple http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
selectors
plugin to add more specific query :selectors to JQuery.
Actually :input, :text etc. are already in SVN. But
I found it through thickbox, i think on june 2nd. At that time I had it
working with prototype and moo.fx ... but shortly ditched those and now
am only using jQuery and a few plugins for www.kevo.com
I've used it since at least January 2005 (at least that was the first
time I emailed John
Hi!I have put up a little function that does something like the fisheye plugin. However, this is only a concept, it doesn't behave like the real one. It will not detect near containers and therefore is not very smooth.
the function:$.fn.fisheye = function() { this.each(function() { var fishHeight
I first heard of jQuery 1.0 in A List Apart article by Nick Rigby in June 06
titled Prettier Accessible Forms
(http://alistapart.com/articles/prettyaccessibleforms). At that time, I
wouldn't even touch Javascript because the pain it was. But now, with
jQuery, I've become a very confident and
I guess you could say I was a late-comer to JQuery. My first introduction to
the library was about four months ago, when I was searching for new Javascript
techniques to amplify some scripts I'd written. I happened across the 15 days
of JQuery site, and have been hooked since. Great stuff!
Sam Collett schrieb:
I've used it since at least January 2005 (at least that was the first
time I emailed John about a bug when he was first working on it), but
not as much as I do now.
I first found out about his coding skills when following the addEvent
coding contest (QuirksBlog -
Hi,
I read this:
http://dean.edwards.name/weblog/2006/05/prototype-and-base/
and followed the link.
Christof
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I was in the process of trying to choose a route for my Ajax development
and had narrowed down my choices to what I called The Big Three;
Prototype/Scriptaculous, Dojo Mochikit. I read a ton about these libs
and did the tutorials as anyone would.
Along the way, I kept hearing references to
eWeek -- August 30
http://www.eweek.com/article2/0,1895,2010602,00.asp
--
Bruce McKenzie
http://www.2MinuteExplainer.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Rebel! ;o)
That was Revision 29! After all it was maybe a little dangerous because
it was in a early beta stage to that time. But all things worked out well...
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Paul,
That's a good start! I see what you're doing!
A larger z-indexed div could be created around each fisheye image, and a
calculation could be done to determine how far from the centre of the box
the mouse cursor is. The image can then be scaled depending on this value.
This also means that
Hello,I've been poking around a bit in the jQuery source code. It's been enlightening and has proven that I don't know as much about _javascript_ as I thought I did!Here's a pattern that occurs frequently that I'm really curious about:
new function() { // do stuff}Is the purpose of this just to
I found this Prototype window plugin and was wondering if there's
something like this available for JQuery users:
http://prototype-window.xilinus.com/
Those window look very slick and I believe that YUI also has a window
class similar to that.
Rey,,,
Todd -
You're correct, it's used to induce a contained scope.
This was a technique that, if I remember correctly, I learned from
Dean Edwards (http://dean.edwards.name/) I use to use:
(function(){
...
})();
but new function() { ... }; is much cleaner, IMO. As far as I know,
that is the best
Yeah, I got involved with JavaWin a while back but moved on after I found
jQuery. You can still see my name as one of the contributors!
I'm looking to emulate that in jQuery (under the name of jAlerts/jWindows)
for some time.
The basic functionality is already available in thickbox, so it'll
Todd ,
From my understanding its partly for variable scoping, partly for
garbage collection and part of a pattern to emulate classes. I did a
posting of the full pattern here: http://www.willjessup.com/?p=35
Will
Hello,
I've been poking around a bit in the jQuery source code. It's been
There's another one that could be converted to jQuery:
http://www.net4visions.com/dev/dialog/dialog.htm
-Original Message-
From: Dan Atkinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 5:30 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Request: Window plugin
Yeah,
John Resig schrieb:
Todd -
You're correct, it's used to induce a contained scope.
This was a technique that, if I remember correctly, I learned from
Dean Edwards (http://dean.edwards.name/) I use to use:
(function(){
...
})();
but new function() { ... }; is much cleaner, IMO.
Hi,
but new function() { ... }; is much cleaner, IMO. As far as I know,
that is the best way to have a local scope, [...]
We had that before. Deans way to create a local scope ((function() {...})())
is better, because it doesn't create a new Object that you never use. Of
course that
On 27/09/06, Sam Collett [EMAIL PROTECTED] wrote:
I've used it since at least January 2005 (at least that was the first
time I emailed John about a bug when he was first working on it), but
not as much as I do now.
Replying to my own post... actually I meant to say January 2006 (about
the same
I wrote a new plugin which can transform an image into a button.
You can check out the demo here:
http://www.webunity.nl/_test/jquery/jButton/
I like the features. It would be better if the markup was a button and the
plugin replaced or changed that as needed. Buttons can have an ACCESSKEY
Found JQuery by chance in February after reading about John's victory in the coding contest on PPKserendipitydo not have a clue about using _javascript_ and want to learn,
but I am very interested in CSS, so jQuery is absolutely perfect for me
/me awaits a jQuery-helper in CakePHP :D now that would be wonderful!
I had a lunch meeting with Nate, one of the core CakePHP developers,
the other day. He can't wait to add in jQuery support. He wrote a
Prototype helper, but he's going to make it generic and have it work
for both Prototype
I think I saw it on SitePoint.http://www.sitepoint.com/newsletter/viewissue.php?id=5issue=23format=html
I was leaning towards Moo.fx and Prototype before I saw jQuery, but this was clearly the right way to go.I have been excited to code JS for the first time in a long time.Glen
On 9/27/06, Rey
Now that is music to my ears :) Now ive got twice as many things to learn :D
John Resig wrote:
/me awaits a jQuery-helper in CakePHP :D now that would be wonderful!
I had a lunch meeting with Nate, one of the core CakePHP developers,
the other day. He can't wait to add in jQuery support.
I can't recall the exact date, but it was almost a year ago. I stumbled
across a post John had made on someone else's Javascript blog describing the
chained function approach, which led me to his own blog post that had the
beginnings of what was to become jQuery.
I spotted it I forget when, but I was poking around at the RIT ScheduleMaker
site he did a while ago, which is still the most useful thing for figuring
out classes up here. I dread to think how I'd have to get a good schedule by
hand.
I forget what revision it was on then, but it was pretty
On 9/27/06, Christof Donat [EMAIL PROTECTED] wrote:
Hi,
I read this:
http://dean.edwards.name/weblog/2006/05/prototype-and-base/
and followed the link.
same with you, suddenly attracted by the jQuery philosophy.
--
Regards,
epaulin
___
jQuery
Hi!This plug-in creates a TOC for a given element.Here is a demohttp://dimitarspassov.googlepages.com/jqpagecontent
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
As John pointed out, implementing some of the new W3C forms API might do the trick. Anyone have any particular parts of that API that might be a good place to start (validation comes to mind).-- Yehuda
On 9/27/06, Glen Lipka [EMAIL PROTECTED] wrote:
For Intuit (QuickBooks, Quicken, TurboTax). We
I saw that one one. The mask I am describing is on the phone number field. It fixes formatting on the fly using keypress. (rather than Blur)So it never shows an error, it just fixes the formatting automagically. Try typing in (510) 555-12dog12. It ends up 510-555-1212.
We are going to use
On Sep 27, 2006, at 11:48 AM, Rey Bango wrote:
Guys, Karl Swedberg has been working on a mod that he and talked about
and I think he's done an excellent job. He may be too modest to
show it
but I wanted to give him some kudos for some excellennt work.
The current implementation of JTip
Similar tale here. I was searching for a new library to work with and came
up with the same bunch, Prototype/Scriptaculous, Dojo Mochikit. Jquery
popped up during that search. It wasn't until I looked through thickbox that
I became a convert though.
-Original Message-
From: [EMAIL
I think collecting these stories is a great idea. I also want to do a YouTube viral video as well. If any of you guys can record audio or video testimonials and send them to [EMAIL PROTECTED]
, that's rock!-- YehudaOn 9/27/06, Karl Swedberg [EMAIL PROTECTED] wrote:
Great question, Sam!Yehuda, what
Here's a pattern that occurs frequently that I'm really
curious about:
new function() {
// do stuff
}
Is the purpose of this just to provide local scope to the
variables used?
Yes, that is the one and only reason for it.
Is there an equivalant syntax that may be
more common?
From: Klaus Hartl
is it possible to use $.extend to clone an object?
var template = { ... };
clone = $.extend({}, template);
To answer my question, yes it works :-)
Keep in mind that extend() does a shallow copy, not a deep copy.
var one = { a:1, b:{ c:2 } };
var two =
Hi,
John, I think there is one difference between both techniques.
While in
new function() {
}
the this keyword points the anonymous object itself, in
(function() {
...
})();
it does not. Right?
The first technique not only creates a new context but also the 'this'-Object.
Michael,
comments inside
Here's a pattern that occurs frequently that I'm really
curious about:
new function() {
// do stuff
}
Is the purpose of this just to provide local scope to the
variables used?
Yes, that is the one and only reason for it.
Is there an equivalant
Wow, that reminds me a lot of WinLIKE:
http://www.winlike.net
--DIZZLE
Marco M. Jaeger-2 wrote:
There's another one that could be converted to jQuery:
http://www.net4visions.com/dev/dialog/dialog.htm
-Original Message-
From: Dan Atkinson [mailto:[EMAIL PROTECTED]
Sent:
John,
Last night I downloaded Firefox 2 rc1.
It has let... and lots more js 1.7 stuff to bad it will take time
til MS (et al) catch up!
On 9/27/06, John Resig [EMAIL PROTECTED] wrote:
Todd -
You're correct, it's used to induce a contained scope.
This was a technique that, if I
Will, it's the only way (until JS1.7) to declare local variables...
normally JS variables are not allocated in the scope you might guess,
they are allocated at the function level, even if they are deeply
nested.
On 9/27/06, Will Jessup [EMAIL PROTECTED] wrote:
Michael,
comments inside
Michael Geary schrieb:
From: Klaus Hartl
is it possible to use $.extend to clone an object?
var template = { ... };
clone = $.extend({}, template);
To answer my question, yes it works :-)
Keep in mind that extend() does a shallow copy, not a deep copy.
var one = { a:1, b:{ c:2 }
I've run into a significant performance issue with the form plugin's
serialize method; not a bug per se, but definitely a show-stopper for
me. The problem is that I have a form with a select element, which has
around 250 options. The serialize method grabs *all* child elements of
the form before
Oh wow ... okay I'll have to look into that. I don't even remember the
reason why I thought it didn't now. Heh that is going to simplfy some
of my code. :)
You should definitely post your code as a plugin. While I don't think
this is widely-needed enough to be in core (considering that Safari
I first read an article at Ajaxian's on january 2006
(http://ajaxian.com/archives/jquery-another-small-javascript-library)
but did not start to use it at this time. I was keeping an eye on the
big 3 too.
Later, starting a project which mimics gmail interface, I started to
really use jQuery and
Mike Alsup schrieb:
Seems to be faster rewriting it with a for loop instead of using each.
Matt, can you confirm?
Mike
Believe it or not, make it a reverse for loop, it is even faster:
for (var k = options.length - 1; k = 0; k--) {
}
Cheers, Klaus
Oops, I missed a 'return'. This:
if (el.type == 'image' el.form.clicked_x)
return a.push(
{name: el.name+'_x', value: el.form.clicked_x},
{name: el.name+'_y', value: el.form.clicked_y}
);
Should be:
if (el.type == 'image' el.form.clicked_x) {
a.push(
Believe it or not, make it a reverse for loop, it is even faster:
Except that we want to process them in semantic order! :-)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
line 1691 of latest jquery * $Rev: 249 $
// Make sure the browser sends the right content length
if ( xml.overrideMimeType )
xml.setRequestHeader(Connection, close);
should probably read:
The SpinButton / SpinBox Plugin has been updated with heaps of improvements
by a splendid chap from this forum named Mark Lincoln.
The SpinButton Plugin takes ordinary input type='text' boxes and turns
them into SpinButton controls using just css and JS/JQuery. No extra markup
is added so the
From: Mike Alsup
Seems to be faster rewriting it with a for loop instead of using each.
Matt, can you confirm?
Here's a skeleton of another way to approach the problem. Instead of
enumerating every element inside the form, it looks at each nodeName as it
goes and decides what to do from
Ooohhh this could be usefull in an upcoming project, you got a link please?On 9/27/06, George Adamson
[EMAIL PROTECTED] wrote:The SpinButton / SpinBox Plugin has been updated with heaps of improvements
by a splendid chap from this forum named Mark Lincoln.The SpinButton Plugin takes ordinary
Michael Geary [EMAIL PROTECTED] wrote: See if this helps: function Stuff() { // do stuff } var stuff1 = new Stuff(); // call the Stuff constructor
var stuff2 = new Stuff; // parens are optionalThanks, the aha! light just went on. It makes total sense now...I didn't know you could call a
It's also a widget that might be featured in the jQuery widget pack I'm putting together.-- YehudaOn 9/27/06, Matt Stith
[EMAIL PROTECTED] wrote:Ooohhh this could be usefull in an upcoming project, you got a link please?
On 9/27/06, George Adamson
[EMAIL PROTECTED] wrote:The SpinButton /
None of the boxes are clickable for me in either of the demos! Im on FF2RC1/WinOn 9/27/06, John Resig [EMAIL PROTECTED]
wrote:Hi Everyone -I'm currently down-and-out with a nasty cold, but I took a break and
hacked up a quick plugin.(I just realized that I've never actuallyreleased any plugins...
Good point! (I've now added the link to my previous post for the benefit of
nabble users)
http://www.softwareunity.com/sandbox/JQuerySpinBtn/
Matt Stith wrote:
Ooohhh this could be usefull in an upcoming project, you got a link
please?
--
View this message in context:
John,
If you say jQuery doesn't support the OR selector '|', then I'm
confused. I have a form with one SELECT element and several INPUTs.
Check out the following results from Firebug:
$('INPUT', $('#myform')).length
6
$('INPUT|SELECT', $('#myform')).length
7
That's what I expected as a
http://www.devpro.it/bytefx/
Not sure if anyone is interested but some of the fx are quite nice and
probably easily jqueryized ( I made up a new word. )
Abba Bryant
--
View this message in context:
http://www.nabble.com/New-FX-script-out-tf2347369.html#a6535505
Sent from the JQuery mailing
John Resig schrieb:
phone number mask.
I think this would make a great jQuery plugin. It has the right pieces of
the puzzle. Example:
input type=text jMask=###-###-
Works as a great constraint to keep data in the correct format.
I have no idea how to port this into a plugin. I am
I want to be able to have a progress bar periodically updated after a
button is clicked, then when the server-side task is complete - the
progress bar is no longer updated (to avoid hammering the server). I
have attempted to write a plug-in that extends the functionality of the
AJAX library
For some reason if I load the page and click some tab the hash changes. If I
then copy the address from the address bar, and reload the initial page the
hash stops changing on tab click. The tab content loads fine. Also if I
bookmark tab 3 and then go to tab 1, then load the page from the
Yehuda Katz schrieb:
You can check out what Dojo has currently at http://dojotoolkit.org/
I haven't worked with Dojo and therefore dunno about its structure, I
hope someone else can answer this question: Would it be possible to
write an adapter to allow using Dojo widgets with jQuery as its
It's a fairly boring effects library.On 9/27/06, abba bryant [EMAIL PROTECTED] wrote:
http://www.devpro.it/bytefx/Not sure if anyone is interested but some of the fx are quite nice andprobably easily jqueryized ( I made up a new word. )Abba Bryant
--View this message in context:
George Adamson schrieb:
They're in the svn? Great. I'll take them out of my plugin in that case.
They are not yet documented: There is no way to add inline documentation
for the expressions, and it doesn't make much sense to add it to the
wiki before there is an official release.
Anyway,
John Resig schrieb:
I'm currently down-and-out with a nasty cold, but I took a break and
hacked up a quick plugin. (I just realized that I've never actually
released any plugins... oops!)
Ah, at last! :-)
Source Code:
http://john.jquery.com/plugins/debug.js
Quick test page:
Using the 'SlideInDown' from 'Interface':
http://interface.eyecon.ro/demos/ifxslide.html
If I have a container absolute positioned, and instead of using 'top' and
'left' properties, I use 'right' and 'bottom', so the container attaches to
the bottom right of the screen, the slide breaks.
It
the comment nor the original code made any sense to me, I suggest
// Make sure we get the dom parsed.
if ( xml.overrideMimeType dataType == xml)
xml.overrideMimeType('text/xml');
in place, or in addition(if that
Mike Alsup ha scritto:
Believe it or not, make it a reverse for loop, it is even faster:
Except that we want to process them in semantic order! :-)
Hi,
I read John and Mike pointed out the need to process form elements
keeping their order.
Can you explain why processing elements in
If you say jQuery doesn't support the OR selector '|', then I'm
confused. I have a form with one SELECT element and several INPUTs.
Check out the following results from Firebug:
$('INPUT', $('#myform')).length
6
$('INPUT|SELECT', $('#myform')).length
7
That's what I expected as a
Same here with Glen, i'm using Moo.fx before JQuery...mostly on intranet
projects. Anyway, being a UI guy... my knowledge on Javascript isn't
good but because of library like JQuery, i'm starting to learn more of
javascript/ajax stuff combined with CSS for presentation...
Thanks to JQuery
Can you explain why processing elements in semantic order is important?
Two reasons:
$(input | select).eq(0)
This should access the first matched element of input or select - when
the order isn't important, you'll never know which element will
actually be first. It's important that the element
Can you explain why processing elements in semantic order is important?
Hi Renato,
The reasoning behind keeping the elements in semantic order is to have
the form submit data to the server in EXACTLY the same order as it
would if javascript were disabled. For many, this is unimportant, but
Perhaps there should be a FastSerialize method, that doesn't guarantee
semantic order, and uses every shortcut to cut down on dom-walking time?
This way, the developer can choose whether to use the faster method, or
the slower-but-correctly-ordered method.
- Brian
Can you explain why
This morning I tried a different approach.
I had a select with id='propinsi', that had a list of province. When
it change, I'd like to change the options in the select with
id='kota'. I use the following code:
script type=text/javascript!--
$(#propinsi).change(function () {
I've finished my mousewheel plugin + docs + test/example.
The example/test page: http://brandonaaron.net/jquery/mousewheel/mousewheel.html
The code: http://svn.brandonaaron.net/svn/jquery_plugins/mousewheel.js
The blog entry:
http://brandonaaron.net/articles/2006/09/28/jquery-plugin-mousewheel
Great plugin. Couple recommendation:
- The addition of mousewheelup/mousewheeldown methods.
- The standardization of an event.detail and/or event.wheelDelta (IMO,
I think wheelDelta makes more sense). This way you can access the same
property in all browsers.
Do you still need testing for Opera
Glen Lipka schrieb:
Would this work onKeyPress? I think I get where you are going.
Struggling. :(
Sure, just apply the validator on keypress:
$(form input).keypress(function() {
$(this).validate();
});
I you have ideas to make the plugin easier to use, just tell me .-)
-- Jörn
A colleague of mine discovered jQuery and started using it in one of
our projects around January 2006. I was amazed by its simplicity, and
was instantly converted. I don't think I've had a project since
without using a little jQuery. Sadly, my colleague left this list, but
is still jQuery-ing it
90 matches
Mail list logo