Conflict jquery.min.js with joomla mootools
Hi Dear
I use joomla with ja3T3 plugin
after add this code
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js
- "></script>
my megamenu not working
I solved this problem with
- <script type="text/javascript">
- $.noConflict();
- // Code that uses other library's $ can follow here.
- </script>
after that i used this code for mouse click effect div
- <script>
- var tuvan_opened = false;
- function toggle_tuvan() {
- if(!tuvan_opened) {
- $('#tuvan').animate( { bottom: "35px" }, 1000 );
- $('#tuvan .tri').css({"background-Color":"black"});
- } else {
- $('#tuvan').animate( { bottom: "-95px" }, 1000 );
- $('#tuvan .tri').css({"background-Color":"#F00"});
-
- }
- tuvan_opened = !tuvan_opened;
- }
- </script>
it work when i didn't use
- <script type="text/javascript">
- $.noConflict();
- // Code that uses other library's $ can follow here.
- </script>
but when i used that my code not working & megamenu was work??
what I must be do to all of them work??
I read this
http://api.jquery.com/jQuery.noConflict/but I can't solve that.
Please help what I must be do?
thanks