noConflict() method is used to relinquish jQuery's control of the $ variable.
The correct order to include your scripts when using
libraries which need to overridethe $ variable
In your case that would probably be:
This is assuming that jquery.anchor.js wants to use the $ variable, but lightbox.js wants to override it.
Please also be aware that after your no conflict code you wouldn't write
You can also do this:
$j = jQuery.noConflict(true);, which means you can then write
P.S. Please be aware that it is not a good idea to include two different versions of jQuery as you had done in your original code. It is also quite possible that this is causing you problems, too.