Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0
1469
posted 16 years ago by quickredfox
From Liviu HolhoÅŸ - Blog
http://blog.liviuholhos.com/javascript/add-a-favicon-near-external-links-with-jquery
4
1690
posted 16 years ago by batamire
http://code.google.com/p/jquery-jtwitter/ for examples.
3
1193
posted 16 years ago by jonniespratley
http://code.google.com/p/jquery-jtwitter/ for examples.
2
1329
posted 16 years ago by jonniespratley
adapted from the fantastic „Learning jQuery 1.3“ book
http://www.packtpub.com/learning-jquery-1.3/book
0
1210
posted 16 years ago by cfleschhut
Select the first and last item in an unordered list. As an example, I add a CSS class to each.
In WordPress, it's not so easy to get wp\_list\_pages() to generate these classes. jQuery provides an easy out for javascript-enabled clients.
0
1438
posted 16 years ago by cyberhobo
This is a raw example of the nested lists structure with inherited numeration.
0
1093
posted 16 years ago by frujo
If you want to trigger an event on an matched element and that element may be introduced into the DOM from an Ajax request, you can still match against it by using the livequery plugin and the following code.
1
1074
posted 16 years ago by Meander365
This slide show was created by Jon Raasch @ JonRaasch.com.
Just images. Look for Slide show #2 for a slide show using DIVs.
hamiltopia_jquerySlideshow2
3
1713
posted 16 years ago by thehamilton
To prevent multiple submit from sending more than one request,
bind the submit event and store a "disabledOnSubmit" data. Next time the event "submit" will be fire, the following jQuery code will return false. All submit buttons are also disabled (...
9
1533
posted 16 years ago by dalexandre
Sometimes you click a link like faq.html#item5 and, after the browser jumps you to the anchor, you have trouble spotting the item you're looking for. anchorAway is a little function that helps you call a function on anchored items, maybe something li...
0
1042
posted 16 years ago by dougunderscorenelson
Uses jquery and raw javascript to quickly add a class to the body class depending on what kind of page it is.
0
1246
posted 16 years ago by chrisjlee