I'm using drupal 7 and trying to develop some mobile menu effect. I've read a lot of discussion so i've install jQuery multi so my drupal run in back-end jQuery 1.5 and in front-end run jQuery 1.11.3. I've also insert jQuery mobile 1.4.5 to manage mobile touch events but for what i understand this will not execute thi is my code
jQuery("#page").on("swipe",function(){
if($(window).width()<=900){
$("#nice-menu-1").children("li").children("ul").css({display: 'block', visibility: 'visible'});
}
})(jq1113)
It's not a js code problem but a library loading for what i know
i've got some error like this:
Uncaught TypeError: a.mobile.document.on is not a function
Uncaught TypeError: jQuery(...).on is not a function
Could someone helo me? thank you
<script ...></script>
, and it work if i update with jQuery update module to 1.7, but broke drupal core so i'm searching an alternative