Profile
Achievement
digitalclubb's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
Via @lmgalmeida
Usage:
data-src="image.jpg" src="loader.gif"
$("img").unveil();
0
852
posted 12 years ago by digitalclubb
Simple jQuery accordion function for jQuery version 1.7.1 and above.
3
962
posted 12 years ago by digitalclubb
A clean and simple jQuery function for creating a tabbed element. This one allows multiple tabbed elements on 1 page (which has been the downfall of so many others)
1
817
posted 12 years ago by digitalclubb
Simply run the function when the document has loaded and specify setDefault to true.
0
740
posted 13 years ago by digitalclubb
The most annoying thing I find working with the strict doctype is the inability to send users off to a site in a new window.
To combat this, I always use the above snippet.
Some people just stick the attribute on the anchors when the page loads...
0
809
posted 13 years ago by digitalclubb
This extends jQuery.is() so now you can use if ($(element).is())
0
687
posted 13 years ago by digitalclubb
Great way to check if a node exists before running a piece of code.
2
861
posted 13 years ago by digitalclubb