Adding some cool jQuery stuff to your Drupal site?
Discover that it pooches even though it works great stand alone?
Even when you reference the actual jquery.js file sitting on your server that comes with Drupal?
I KNOW!!! Terribly frustrating.
However, before you go on safari for some mysterious conflict and wasting your time here is great tip that usually resolves things!
Just wrap your stuff with this function:
(function ($) {
// Original JavaScript code.
})(jQuery);
Ta-da!
I found that here in case you want to learn more.