Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged window



« Prev 1 Next »
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0 649 posted 12 years ago by i-am-andy
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0 791 posted 12 years ago by Huskie
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1 697 posted 13 years ago by creativeboulder
I wrote this from scratch :) Basically I wanted a DIV to scroll with the window but it's not visible to begin with on the page. So this does it when the user scrolls past the beginning of that element.
1 613 posted 13 years ago by reynish
0 561 posted 14 years ago by flicity
« Prev 1 Next »