Posted By

clintonhalpin on 02/13/11


Tagged

ListsJquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

maltem


Support for List Psuedo Elements In Safari and IE


 / Published in: jQuery
 

URL: http://www.clintonhalpindesign.com/blog/?p=164

Adds classes so that You can use things like Last Child, Nth Child and basically whatever you what and whatever is supported by jquery

  1. $(function(){
  2. $("#nav li:last-child").addClass('last-child')})

Report this snippet  

You need to login to post a comment.