Jack Hardcastle 03 January 2006 If you change line 29 to if ((parentElementClass == null)||(currentParent.className.indexOf(parentElementClass))) { then you can do something like this ul class="videos striped" and it will match. This lets you apply more than one class to your parent element.
If you change line 29 to
if ((parentElementClass == null)||(currentParent.className.indexOf(parentElementClass))) {
then you can do something like this
ul class="videos striped"
and it will match. This lets you apply more than one class to your parent element.