Discover the best of the web!
Learn more about Digg by taking the tour.
jQuery - New Wave Javascript
jquery.com — An intuitive Javascript library with full support for CSS 1-3, basic XPath, effects, events, and DOM.
- 615 diggs
- digg it
- hoffmabc, on 10/12/2007, -0/+0Looks very handy. Worth looking into.
- JamesWilson, on 10/12/2007, -0/+0Needs more demos
- russell, on 10/12/2007, -0/+0Very nice! Easier then Moo...
- reets, on 10/12/2007, -0/+0More demos on the site would be nice but I am impressed. Going to start playing with it!
- ckrimmel, on 10/12/2007, -0/+0I agree with reets. Although I do have an overwhelming tendency to install anything that seems 'interesting' or 'cool' or 'easier to use' then the current method =)
- aptiva, on 10/12/2007, -0/+0wow this is very very cool
- kefs, on 10/12/2007, -0/+0More demos.. Agreed!
- phytar, on 10/12/2007, -0/+0I'm glad everyone likes this! It's hard to have some cool demos with something that's so new - but I quickly grabbed together what I could find and put it up on a demo page, for people to view:
http://jquery.com/docs/Demos/
I'm probably going to start adding some 'common problem, awesome solution' type things to that page, too. Along with with lots more code in the Tutorial. - lotusleaf, on 10/12/2007, -7/+0I hate sites that slap lipstick on a pig javascript, java, flash, etc. what a waste of bandwidth.
- simd, on 10/12/2007, -0/+0Like it - nice job. Another tool in the toolbox.
- NippleNutz, on 10/12/2007, -0/+0Server..... jDead
- danp, on 10/12/2007, -0/+0Is it just me or is there no way to get access to the unmangled source?
- weiran, on 10/12/2007, -0/+0The new demo page is coming up with an error?
- joeyjojo, on 10/12/2007, -0/+0"what a waste of bandwidth."
I don't think you understand how javascript works. - jzillan, on 10/12/2007, -0/+0just awesome! i will be implementing this right away
digg it A+ - phytar, on 10/12/2007, -0/+0danp: You can get to the raw source right here: http://jquery.com/src/rnrnweiran: It seems as if the software that I'm using to run the Docs is having a hard time with the Digg effect, I'll see if I can't dump some to static pages, for now - to help out.
- CaughtThinking, on 10/12/2007, -4/+0Wow, an awesome Web 2.0 Javascript library that can added to many blogs, spammed on Digg, made into a book by O'Reilly, and never get used again!
I can't wait! - phytar, on 10/12/2007, -0/+0Argh, the last comment got mangled:
danp: You can get to the raw source right here: http://jquery.com/src/
weiran: It seems as if the software that I'm using to run the Docs is having a hard time with the Digg effect, I'll see if I can't dump some to static pages, for now - to help out. - TubaTech, on 10/12/2007, -2/+0shamelessly promoting your own stuff....nice....lol
- thewebguy, on 10/12/2007, -1/+0nothing wrong with promoting your own stuff.
i think i'm copying some stuff straight off the site and no dice, not sure what i'm doing wrong yet. - thewebguy, on 10/12/2007, -1/+0p.s., naming the onion thing "zomg.html" made me lol
- shayne_sweeney, on 10/12/2007, -0/+0Double click on the demo on jQuery.com, it breaks the effect. -- Still some bugs?
- souprhero, on 10/12/2007, -0/+0Very cool
- phytar, on 10/12/2007, -0/+0nipplenutz and weiran: I've cached all the pages of the site - so everything on the server-side of the site should be working ok, at least.
- phytar, on 10/12/2007, -0/+0shayne_sweeney: Do you know which demo this is happening on? I'm sure there's bugs lurking everywhere - just gotta hunt them down.
- shayne_sweeney, on 10/12/2007, -1/+0@phytar:
The demo as displayed on the jQuery.com homepage.
CODE: $("p.surprise").addClass("ohmy").show("slow");
If you click to start the effect, then click once more (before the effect ends transistion). The efect starts over using the current size (at the time of the second click) of the contents. The effect affected. :) - ziggystardust, on 10/12/2007, -0/+0@shayne sweeney
You're right...I just clicked it as fast as possible and the box grew alot. It is now almost the whole page long. Funny looking. - phytar, on 10/12/2007, -0/+0Ahh, ok - thanks shayne_sweeney. The problem is that the 'show' effect isn't supposed to be run on something that is already shown - hence the problem. Ideally, it should 'show', then hide, then show (etc.) For now, I've removed the run button after the first click, until I can completely disable multiple shows in a row.
- arniemg, on 10/12/2007, -0/+1A lot of love went into this. Good work. :)
Here are some other Javascript libraries
* Prototype - http://prototype.conio.net/
* Script.aculo.us - http://script.aculo.us/
* Moo.fx - http://moofx.mad4milk.net/
* Behaviour - http://bennolan.com/behaviour/ - senzafine, on 10/12/2007, -0/+1Digg++ for the hard work
- Jhorra, on 10/12/2007, -0/+0I like it, I think I'll give it a try.
- JavaMac, on 10/12/2007, -0/+0Looks pretty neat! I like how easy it is to select DOM elements.
- firehydra2k, on 10/12/2007, -0/+0Kick ass. I'd like to play around with this on my website...
- Metal_Hurlant, on 10/12/2007, -0/+0The main usefulness of that lib is the $() function with its xpath/css support and additional event and iterator handling.
Those features can make your code significantly more compact, robust and maintainable (and not a lot slower provided you think about what you're doing.)
I'm not as convinced with the rest of the stuff. In my mind, I rate features with a ratio of "usefulness" over "disruptiveness".
Disruptiveness is bad, as it forces me to learn new things, and to write code other javascript people can't understand/maintain easily. A disruptive feature is only worth using is it's useful enough to justify it.
Xpath+CSS+$() support definitely qualifies.
I'm not as enthusiastic about having yet another way to make elements visible, or fade them, or whatever. - phytar, on 10/12/2007, -0/+0metal_hurlant: Exactly - I figured that some people were going to love the core module and just not care about the special effects, etc - so I made the extra modules optional, and you can include/exlude them when you download jQuery. Personally, I love all aspects of the code (but that's just me).
- alucinor, on 10/12/2007, -0/+0The source code looks like a real mess, but the concept is genius.
- phytar, on 10/12/2007, -0/+0alucinor: The source code is compressed to save space and bandwidth. If you'd like to look at the regular source code, look here: http://jquery.com/src/
- thewebguy, on 10/12/2007, -0/+0upon playing with this for a few more minutes later on, i'm really liking it.
anyone wanna help me interface this with an equally simple htmlrequest thingie? - ericmoritz, on 10/12/2007, -1/+0It's nice except it breaks prototype's $() function.
- bidwellm, on 10/12/2007, -0/+0Sweet - much easier to use that prototype.js
- kolakutusu, on 07/14/2008, -0/+0This is pretty sexy if i do say so myself.I want to use new wawe javascript
Thanks for digg,
http://www.onlineflashgames.org
http://www.bid-directory.net
Digg is coming to a city (and computer) near you! Check out all the details on our