Results 1 to 4 of 4

Thread: Having problems with conflicting jquery scripts

  1. #1
    Join Date
    Aug 2012

    Having problems with conflicting jquery scripts

    I've tried to combine 3 different scripts on a demo design for a client.
    1. First script handles the vertical "accordian" style menu on the left.
    2. Second script handles the horizontal drop down menu for the main navigation.
    3. Third scrolls the pages main feature image of the mini. But it's resulting in them failing when they're all combined.

    I can get the first and second scripts working together on this page:


    But when I introduce the third script (which I've simply placed at the bottom of the page, I will move it later to where the mini is), it breaks the second script. Here is the example:


    Thanks for the help.

  2. #2
    Join Date
    Aug 2012
    Hmm, still no luck figuring this one out.

    Is there any way I can better explain my problem if it helps you guys help me out?


  3. #3
    Join Date
    Dec 2011
    Centurion, South Africa
    I had a look around in the index_with_scroller demo, I see you have commented out 2 of the scripts from the previous demo (flexpopupmenu.js & ddmegamenu.js).

    Inside those two files there is a line of code near the top:

    By commenting out this line, or removing it, in the two scripts the page seemed happier to load.
    JavaScript: Learn | Validate | Compact | bionoid

  4. #4
    Join Date
    Aug 2012
    bionoid, thank you very much for taking the time to look into my problem.

    Yes, that seems to get the script working. I will have a closer look at it tomorrow and finish off work on that page.

    What is jQuery.noConflict(), and why was it causing a problem in this case?

    Thanks again for your support folks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center