Conflict stmenu and jquery1.4.2

In my website am using stmenu and Carousel. Here i don't know Carousel is working but Menu is not working in my website.  When i remove jquery1.4.2.js  script tag Menu is working, but Carousel is not working. When i include jquery1.4.2.js  script tag Menu is not working, but Carousel is working.
Lastly i find out stmenu.js and jquey1.4.2.js conflict. I want to work both. What can i do. Help me
rameshitmAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MacAnthonyCommented:
There are a couple of solutions outlined in jquery's documentation on using .noConflict with multiple JS libraries. Try them out and see which works for you.

0
rameshitmAuthor Commented:
Where i have to  include the .noConflict
0
MacAnthonyCommented:
The version I have usually used is the one where you assign jquery to another global variable like:

var $j = jQuery.noConflict();
$j('div').show();

Open in new window


This way, you would use $j everywhere that you normally used $ for jquery. This only works if the carousel plugin you are using has been created in such a way to be compatible with this process. Hopefully it has.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rameshitmAuthor Commented:
Thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JScript

From novice to tech pro — start learning today.