Profile
Achievement
i-am-andy's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
A simple way of displaying a random list item. Could be used to randomly display anything.
Demo: jsfiddle.net/uRd6N/ (keep clicking run)
0
1956
posted 11 years ago by i-am-andy
Load latest version of jQuery from Google Libraries API and de-register Wordpress version
0
1343
posted 12 years ago by i-am-andy
Change the text of the jquery cycle pager element. By default is is 1, 2, 3 etc but you can change this to text via a variable
1
918
posted 12 years ago by i-am-andy
Add a class to every 4th item using jQuery nth-child and add class
0
771
posted 13 years ago by i-am-andy
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
871
posted 13 years ago by i-am-andy