I'm having a jQuery conflict issue I'm unclear how to resolve. The problem is I've added some jQuery vertical tab code to one of my pages that's conflicting with one of my Wordpress plugins. I realize folks may not be familiar with Wordpress, but I think my issue is less to do with the blog than a conflict with jQuery.
The plugin in question is WP-Lightbox 2. It references the WP installation (/wp-includes/js/jquery) of jQuery. The last line of that file contains "jquery.noconflict;". When I remove this line, Lightbox 2 stops working - but my vertical tab code works. Add it back and Lightbox works, but my code doesn't. I've tried "$j=jquery.noConflict;" but that doesn't work either.
So, my question is - what exactly does this line do and are there any alternatives I can use? Here's my vertical tab code:
var $items = $('#vtab>ul>li');
var index = $items.index($(this));