[jQuery] Re: namespacing jQuery

2009-10-28 Thread El Greg
ce conditions. > > You're not putting the noConflict call inside a $(document).ready() or the > like, are you? It should be directly executed in a <script> tag: > > <script type="text/javascript" src="my.jquery.js"> > >     var jq = jQuery.

[jQuery] Re: namespacing jQuery

2009-10-27 Thread El Greg
Conflict > > var j = *jQuery.noConflict*(); > // Do something with jQuery > j("div p").hide <http://docs.jquery.com/Effects/hide>(); > // Do something with another library's $() > $("content").style.display = 'none'; > > -Dan > >

[jQuery] namespacing jQuery

2009-10-27 Thread El Greg
I'm interested in namespacing jQuery to something like $myjQ. or myjQ. $ and wondering what the best way is to do it. I will potentially be using my version of jQuery on other pages that are running other versions of jQuery - hence the idea to rename it completely so that I have control over ver