The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery Conflict

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #173935

    I have a critical problem in Javascript conflict.

    Please check my page here:

    Both Video Lightbox and bottom fadein fadeout text is not work together.

    Here is my code:

    MOD EDIT – Mega Codedump Removed

    Please let me know, How I will solve this probelm?


    From what I can see, you are loading both MooTools and jQuery – this is adding complication.

    All of your show/hide scripts are referencing $ which is not running in jQuery because you are running it in noconflict() mode. Your code works with plain old jQuery – but the video/lightbox doesn’t. Go through your code and check which pieces of code is jQuery and MooTools.

    You may want to re-factor and put all of your code within a jQuery block like:

    (function( $ ) {
        var quotes = $(".quotes");
        var quoteIndex = -1;
        function showNextQuote() {
          quotes.eq(quoteIndex % quotes.length)
            .fadeOut(4000, showNextQuote);
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.