nice menu mobile gesture i've developed a project using Nice Menus module, but on mobile can't use well with submenus. So i thought to use JS injector to listen swipe on screen and make menu visible.
i wrote this code

$(document).ready(function(){$("#second-column").on("swipe",function(){
      if($(window).width()&lt;=900)
        $("#nice-menu-1&gt;li&gt;ul").css("display: block; visibility: visible;");
  });
});


but chrome console said $ is not a function so i search and replace $ with jQuery, now i've no moar message but it doesn't work.

Thanks in advance for help
I think this is a syntax issue. Try using

jQuery(function($) {
    //Your Code
});