It's possible to replace $ with jQuery without no.Conflict() -jerry wrote:For my part it seems that I can just replace $ with jQuery to avoid conflicts with lightbox and anything else I know.
BUT only when jQuery is loaded as the first framework!
See example "Including jQuery before Other Libraries " at http://docs.jquery.com/Using_jQuery_wit ... _Librariesjquery.com wrote: If you include jQuery before other libraries, you may use "jQuery" when you do some work with jQuery, and the "$" is also the shortcut for the other library. There is no need for overriding the $-function by calling "jQuery.noConflict()".
Code: Select all
<html> <head> <script src="jquery.js"></script> <script src="prototype.js"></script> <script> // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), etc. $('someid').hide(); </script> </head> <body></body> </html>
So your solution might not be really save...
Holger
BTW: can't we do that discussion at this thread: http://www.cmsimpleforum.com/viewtopic.php?f=29&t=3209