Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 40 41 42 43 44 Next »
Then, your code should look like this ... $(document).ready(function() { $("dt > a").click(function(){ $(this).parent().nextUntil('dt').toggle(); return false; }); });
0 312 posted 13 years ago by thecrumb
#modal would be the bodyID of your modal window. I use jqmodal so it strips out all the header tags, and takes your body ID and turns it into a div.
2 329 posted 13 years ago by kristin
Found this quick little bit of code on the Google jQuery discussion group. It simply fades the background image of a link you have hovered over to a certain color, then fades it back to the original color.
4 358 posted 13 years ago by 1man
Very simple style switcher using jquery. Takes 3 links with id's on each. When one is clicked various styles are removed, then a new one is added.
3 474 posted 13 years ago by 1man
0 344 posted 13 years ago by kristin
a function that returns the absolute position in DOM tree. jQuery based
1 286 posted 14 years ago by fael
basic wrapper for jQuery code
4 308 posted 14 years ago by sambody
12 409 posted 14 years ago by soxiam
6 465 posted 14 years ago by soxiam
Replaces a DOM Element with another, but keeps the classes and IDs of the old one.
3 427 posted 15 years ago by gaunab
1 373 posted 15 years ago by gaunab
1 362 posted 15 years ago by mlange
Found on the jquery mailing list: http://jquery.com/discuss/2006-April/004625/ The url shows it in action, checking text when you move away from a field.
4 425 posted 15 years ago by TC
Open a new window without using target="_blank" for XHTML 1.1. Need jQuery Framework : http://jquery.com/
15 956 posted 15 years ago by walepinski
Select all checkbox in the specific context. Need jQuery Framework : http://jquery.com/
12 452 posted 15 years ago by walepinski
StripTables Script. Need jQuery Framework : http://jquery.com/
6 302 posted 15 years ago by walepinski
Just testing snipplr w/ this snippet.
5 497 posted 15 years ago by jonbaer
1 ... 40 41 42 43 44 Next »