Profile
Achievement
cyberhobo's Recent jQuery Snippets
- All /
« Prev 1 Next »
Sometimes I want simple tabs without all the packaging of jQuery UI with a theme. This does the job with just jQuery 1.2.6, and should work with later versions.
3
804
posted 14 years ago by cyberhobo
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
803
posted 14 years ago by cyberhobo