After you've loaded jQuery and before you do anything in your JavaScript, call, jQuery.noConflict(); which will give the $ object back to the original library that is using it. The other option is to not use $ for any of your jQuery code, but use the word jQuery.
So, instead of $("#content").show();, you'd have: jQuery("#content").show(); Or...you can even do something like: var j = jQuery.noConflict(); j("#content").show(); See the examples page for more details: http://docs.jquery.com/Core/jQuery.noConflict#examples -Eric On Jun 26, 2:27 am, Pegpro <[EMAIL PROTECTED]> wrote: > How do I use that? > > On Jun 25, 7:25 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > > > Have you tried jQuery.noConflict(); > > ?http://docs.jquery.com/Core/jQuery.noConflict > > > On Jun 25, 9:12 am, Pegpro <[EMAIL PROTECTED]> wrote: > > > > Does anyone know? > > > > On Jun 25, 12:06 pm, Pegpro <[EMAIL PROTECTED]> wrote: > > > > > I am trying to use lightview and jQuery on the same page (doing > > > > different things). However the second I added the jQuery.js file to my > > > > headers my lightview broke with this error: > > > > > "uncaught exception: [Exception... "Component returned failure code: > > > > 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]" > > > > nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame > > > > ::http://cgp.pezmc.com/includes/js/prototype.js::anonymous::line 1" > > > > data: no]" > > > > > Now just the jQuery effects work and lightview does nothing. > > > > Does anyone know how I can fix this?