Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

conflict with JS

Home Forums Older releases 0.9.x conflict with JS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1316

    Hi, I’m trying to build my first JQuery website using theme html The menus were working ok but when I added a filter portfolio slide then not showing the drop down menu.
    The conflict lies in using two different JQuery files: for the SmartMenus and for the filter portfolio

    i use jquery-1.6.2.min.js, jquery.easing.1.3.js , jquery.prettyPhoto.js ,jquery.quicksand.js, script.js

    If I remove the later, the menu works ok, but when i put any gallery or other jquery then not working perfect .

    How can this conflict solved? can anyone help me please thanks in advance


    Hi, SmartMenus supports jQuery 1.4.4+ and it should work with 1.6.2 without problems so you don’t need to include 1.11.0 for it. If you still need to include it for your filter portfolio, then you could do it in noConflict() mode – i.e. include it after 1.6.2 in the source like this:

    <script src=""></script>
    jq1110 = jQuery.noConflict(true);

    Then wrap all your filter portfolio code like this:

    (function($, jQuery) {
    // filter portfolio code
    })(jq1110, jq1110);

    This way only your filter portfolio code will use 1.11.0 and all other scripts on your page will still use 1.6.2.

    Please let me know if you still have any troubles (BTW, a live test page would really help very much too).



    i have try but it’s not working sir i have also use

    and also try as per your instruction but not success

    but when i use noConflict code then menu are working but any other filter portfolio gallery or other gallery are not working properly

    thanks for help


    Please post a link to a live demo (you can post it as Protected data if you want to keep it between us) because it’s very difficult to guess what exactly might be wrong without looking at your code.


Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.