I don't think there is a way to make mootools play well with other libraries
when using the infamous "$". jQuery is probably the only library that
understands this concern and has implemented appropriate precautions in its
code base.

That said, to look at ur needs from a higher level, i think i will first
need to understand what is that u r doing with mootools that can't be done
in jquery. If we are able to easily achieve the same using jQuery, then you
wont have to use mootools at all in the first place...


-GTG


On 8/22/07, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
>
> Right, I just don't want to touch any of the existing/relevant
> files....only wrap moo in something that won't conflict. Thanks for poking
> into it for me, though, much appreciated. Seems like a no-brainer to have in
> a library (and a reason to use jq over moo in general if it t'aint possible
> ;-)
>
> Benjamin Sterling wrote:
>
> I was just looking at some of my plugins and realized that, if your
> plugins are wrapped like below, doing the noflict should not be a headache.
>
> (function($){
> // original content
> })(jQuery);
>
> Even if you have to wrap your current code (custom code you written) in
> that, you should still be ok.
>
> On 8/22/07, Benjamin Sterling < [EMAIL PROTECTED]> wrote:
> >
> > Sorry Jack, never ran into the issue.  Maybe replacing all the $ in
> > mootools' core, probably not the best approach, but I could not find an
> > answer.
> >
> > Sorry.
> >
> > On 8/22/07, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> > >
> > > Right, I know about the no-conflict mode. My issue is the opposite: I
> > > don't want to touch any existing js files to use jquery in no-conflict
> > > mode....and haven't had any luck via mootools pleas for a workaround at 
> > > the
> > > moo level. Hoping someone here has dealt with it. I just have a little
> > > mootools thing I need to use so don't want to touch other stuff that's
> > > already working.
> > >
> > > Thx.
> > > Jack
> > >
> > > Benjamin Sterling wrote:
> > >
> > > Check out 
> > > http://michaelshadle.com/2007/07/03/jquerys-no-conflict-mode-yet-another-reason-why-its-the-best/
> > >
> > >
> > > On 8/22/07, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > I have a site that's chock-full of jquery stuff: numerous js files
> > > > using
> > > > jquery, bunch of plugins, etc. I have a need to use mootools for
> > > > something that must coexist with the jquery stuff. I know that
> > > > jquery's
> > > > $ can be changed to something else, but rather than mod any of my
> > > > existing js files, I'd prefer to override moo's $ instead. However,
> > > > haven't been able to find a way to do it. I can't imagine there
> > > > isn't a
> > > > way, but so far no luck.
> > > >
> > > > Anyone in this lovely, lively, vigorous jquery group know a
> > > > workaround?
> > > >
> > > > (buttered up enough?)
> > > >
> > > > Thanks,
> > > > Jack
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Benjamin Sterling
> > > http://www.KenzoMedia.com <http://www.kenzomedia.com/>
> > > http://www.KenzoHosting.com <http://www.kenzohosting.com/>
> > >
> > >
> > >
> >
> >
> > --
> > Benjamin Sterling
> > http://www.KenzoMedia.com <http://www.kenzomedia.com/>
> > http://www.KenzoHosting.com <http://www.kenzohosting.com/>
> >
>
>
>
> --
> Benjamin Sterling
> http://www.KenzoMedia.com <http://www.kenzomedia.com/>
> http://www.KenzoHosting.com <http://www.kenzohosting.com/>
>
>
>

Reply via email to