Profile
Achievement
cyberhobo's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
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
1020
posted 15 years ago by cyberhobo