Hi Erik,
If you are using the jQuery.noConflict function and set the jQuery
Selector variable to $j as in:
var $j = jQuery.noConflict();
You need to make sure you go through all your jQuery code and change
the $() selector to $j() or whatever you set the variable to.
Also note note you need to
Thank you so much!!
Erik
On Jan 20, 2009, at 9:42 AM, WhoButSB wrote:
Hi Erik,
If you are using the jQuery.noConflict function and set the jQuery
Selector variable to $j as in:
var $j = jQuery.noConflict();
You need to make sure you go through all your jQuery code and change
the $()
I did everything you pointed out. It still doesn't work:
script type=text/javascriptvar $j = jQuery.noConflict();/script
Where do I place this script in my html?
I verified none of my mootools is using $j()
Very frustrated.
Any help is greatly appreciated.
Erik
On Jan 20, 2009, at 9:42
Here is my code:
!--
script type=text/javascript src=/src/js/mootools/1.2.1/core.js
charset=utf-8/script
script type=text/javascript src=/src/js/mootools/1.2.1/more.js
charset=utf-8/script
script type=text/javascript src=/src/js/mootools/barack/
morphlist.js charset=utf-8/script
script
Which part of the code are you using jQuery with? Because at the very top
after you call the jQuery script you should set the var $j =
jQuery.noConflict() method. In then in front of all the jQuery code $
selectors change them to $j, so jQuery code will be applied to them.
On Tue, Jan 20,
Here all my jquery scripts in my head:
script type=text/javascript src=/src/js/jquery/
jquery-1.2.6.min.js/script
script type=text/javascript src=/src/js/jquery/
jquery.labelify.js/script
script type=text/javascript src=/src/js/jquery/lavalamp/
jquery-1.2.3.min.js/script
script
It looks like you are calling jQuery multiple times in your header:
script type=text/javascript src=/src/js/jquery/jquery-1.
2.6.min.js/script
and
script type=text/javascript src=/src/js/jquery/lavalamp/
jquery-1.2.3.min.js/script
2 Different versions of the framework. That might be causing some
I eliminated some unnecessary scripts.
This is what i have now:
script type=text/javascript src=/src/js/mootools/1.2.1/core.js/
script
script type=text/javascript src=/src/js/mootools/1.2.1/more.js/
script
script type=text/javascript src=/src/js/mootools/barack/
morphlist.js/script
script
Oooh, make sure you put the jQuery.noConflict() code at the top right after
the lavalamp.min.js code. Also make sure you add the script tags around
it.
Steve
On Tue, Jan 20, 2009 at 1:58 PM, Erik R. Peterson eriks...@mac.com wrote:
I eliminated some unnecessary scripts.
This is what i have
Like this?
script type=text/javascript src=/src/js/jquery/
jquery-1.2.6.min.js/script
script type=text/javascript src=/src/js/jquery/lavalamp/
jquery.easing.min.js/script
script type=text/javascript src=/src/js/jquery/lavalamp/
jquery.lavalamp.min.js/script
script type=text/javascript
Guess what!! I got it to work!! Very nice
I feel like I parted the sea like moses
thanks.
Erik
On Jan 20, 2009, at 2:01 PM, Steven Barbera wrote:
Oooh, make sure you put the jQuery.noConflict() code at the top
right after the lavalamp.min.js code. Also make sure you add the
Nice job, its always a great relief after you've struggled with a problem to
conquer it. Good luck with your JS.
On Tue, Jan 20, 2009 at 2:37 PM, Erik R. Peterson eriks...@mac.com wrote:
Guess what!! I got it to work!! Very nice
I feel like I parted the sea like moses
thanks.
How come you are including both 1.2.3 and 1.2.6 versions of jQuery?
On Jan 19, 4:40 pm, Erik R. Peterson eriks...@mac.com wrote:
I have a lot of jquery scripts in my html and I just added a mootools
script.
Now none of my jquery scripts don't work.
script type=text/javascript
Have you checked out the documentation?:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
Karl Rudd
On Tue, Jan 20, 2009 at 8:40 AM, Erik R. Peterson eriks...@mac.com wrote:
I have a lot of jquery scripts in my html and I just added a mootools
script.
Now none of my jquery scripts
Good question.. I'll fix that...
Can you give me the script to fix the conflict?
Erik
On Jan 19, 2009, at 4:43 PM, MorningZ wrote:
How come you are including both 1.2.3 and 1.2.6 versions of jQuery?
On Jan 19, 4:40 pm, Erik R. Peterson eriks...@mac.com wrote:
I have a lot of jquery
Rather than just myself or someone else posting what *probably* would
work... how about some work to help understand what's going on?
First off, make sure to read the link Karl posted...
Secondly, before you do *anything* jQuery related, you want to include
the library first.. you've got 3
ps... reading your post for the 4th time, i realize now that the
first two files are probably not related to jQuery hence they'd be
safe
anyways, show some code where you are trying to use jQuery and trying
to initialize your HTML to use the plugins you need that would
make it easier
Thank you.
I read as you instructed me and I'm still confused.
My first question, is there one script i can place in the header that
will eliminate the conflict?
I actually read Using jQuery with Other Libraries
I understand the problem, but still having problems with the fix.
Can there
18 matches
Mail list logo