• Resolved matthisco

    (@matthisco)


    Can someone please tell me how I can get these two plugins to work on the same page please?

    My code below generates the errors:

    Code:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
    <script src="https://www.mharrisweb.co.uk/wp-content/themes/skeleton/javascripts/responsiveslides.min.js"></script>
    
    <script type="text/javascript">
    var jQuery_1_8_2 = $.noConflict(true);
    </script>
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
    <script type="text/javascript" src="https://www.mharrisweb.co.uk/wp-content/themes/skeleton/javascripts/jquery.capty.min.js"></script>
    
    <script type="text/javascript">
    var jQuery_1_5_2 = $.noConflict(true);
    </script>
    <script>
    $jQuery_1_5_2(document).ready(function(){
    
        $jQuery_1_5_2('#default').capty();
    
    });
    </script>
    
       <script>
    $jQuery_1_8_2(document).ready(function(){
    
       // Slideshow 1
          $jQuery_1_8_2("#slider1").responsiveSlides({
            maxwidth: 800,
            speed: 800
    
          });
    
    });
    </script>

    Errors:
    Timestamp: 07/11/2012 15:34:28
    Error: ReferenceError: $jQuery_1_5_2 is not defined
    Source File: file:///C:/Documents%20and%20Settings/harrisma/Desktop/ResponsiveSlides.js-master/ResponsiveSlides.js-master/demo/demo.html
    Line: 28

    Timestamp: 07/11/2012 15:34:28
    Error: ReferenceError: $jQuery_1_8_2 is not defined
    Source File: file:///C:/Documents%20and%20Settings/harrisma/Desktop/ResponsiveSlides.js-master/ResponsiveSlides.js-master/demo/demo.html
    Line: 38

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jquery conflict – how to solve?’ is closed to new replies.